Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 106.5 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.1 MB / 0.7177 GB, free: 4.484 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002658/0.3089, allocations: 1.435 MB / 1.177 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.3097, allocations: 435 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3098, allocations: 0 / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.3098, allocations: 3.938 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.3099, allocations: 7.922 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.3101, allocations: 27.91 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3102, allocations: 43.86 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.3103, allocations: 11.98 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.3104, allocations: 15.94 kB / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.3104, allocations: 23.92 kB / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3105, allocations: 4 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.3105, allocations: 0 / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.3105, allocations: 19.86 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.3106, allocations: 19.92 kB / 1.178 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3107, allocations: 47.7 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3107, allocations: 4 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3107, allocations: 0 / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3107, allocations: 0 / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006378/0.3114, allocations: 401 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3114, allocations: 12.03 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3114, allocations: 8.891 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3116, allocations: 168.4 kB / 1.178 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3116, allocations: 4.375 kB / 1.178 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3116, allocations: 4.359 kB / 1.178 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3117, allocations: 57.98 kB / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3118, allocations: 3.938 kB / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3118, allocations: 0 / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.3118, allocations: 8 kB / 1.178 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.3119, allocations: 15.98 kB / 1.178 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3123, allocations: 272.8 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.3124, allocations: 42.56 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.3124, allocations: 16.98 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3125, allocations: 0 / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.3127, allocations: 109 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3127, allocations: 0 / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002941/0.313, allocations: 147.3 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.313, allocations: 81.11 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.3131, allocations: 109.8 kB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3132, allocations: 25.7 kB / 1.179 GB, free: 2.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.3132, allocations: 88.14 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3133, allocations: 19.84 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.3133, allocations: 29.7 kB / 1.179 GB, free: 1.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3134, allocations: 314.8 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.3135, allocations: 19.98 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.3136, allocations: 34.84 kB / 1.18 GB, free: 1.578 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3137, allocations: 121.9 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3137, allocations: 96 / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001626/0.3139, allocations: 135.6 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3139, allocations: 29.7 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3139, allocations: 3.984 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3139, allocations: 4 kB / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.314, allocations: 4 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.314, allocations: 3.938 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.3141, allocations: 11.98 kB / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3141, allocations: 8.062 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.3142, allocations: 147.5 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.3142, allocations: 11.94 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3142, allocations: 8.375 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3143, allocations: 0 / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3143, allocations: 0 / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3143, allocations: 4 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.3147, allocations: 392.2 kB / 1.181 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3147, allocations: 4 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.3147, allocations: 4 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3147, allocations: 0 / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3147, allocations: 4.062 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.3148, allocations: 7.984 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3148, allocations: 0 / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.315, allocations: 233 kB / 1.181 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.315, allocations: 85.06 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3151, allocations: 8 kB / 1.181 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3152, allocations: 11.98 kB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3152, allocations: 7.938 kB / 1.181 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3153, allocations: 3.984 kB / 1.181 GB, free: 196 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.3153, allocations: 87.28 kB / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.3153, allocations: 0 / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002308/0.3156, allocations: 16 kB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.3157, allocations: 115.5 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3159, allocations: 123.3 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3159, allocations: 0 / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.316, allocations: 91.33 kB / 1.181 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3163, allocations: 15.98 kB / 1.181 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.3167, allocations: 175 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.317, allocations: 0.6886 MB / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.317, allocations: 11.44 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.317, allocations: 0 / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of Templates: time 0.002652/0.3197, allocations: 0.9043 MB / 1.183 GB, free: 13.89 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.019690082059242]