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.001732/0.001732, allocations: 110 kB / 18.94 MB, free: 2.789 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.001611/0.001611, allocations: 194.5 kB / 22.23 MB, free: 5.234 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.472/1.472, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001946/0.001946, allocations: 75.88 kB / 1.061 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003437/1.129, allocations: 1.453 MB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00104/1.13, allocations: 440.7 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/1.13, allocations: 1.5 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/1.13, allocations: 3.938 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/1.13, allocations: 17.27 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/1.13, allocations: 16.11 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/1.13, allocations: 47.33 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/1.131, allocations: 11.67 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/1.131, allocations: 24.33 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/1.131, allocations: 20.83 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/1.131, allocations: 3.688 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/1.131, allocations: 4 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/1.131, allocations: 13.17 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/1.131, allocations: 15.09 kB / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/1.131, allocations: 51.25 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.131, allocations: 4 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.444e-06/1.131, allocations: 1.156 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.131, allocations: 0 / 1.22 GB, free: 2.059 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.0007969/1.132, allocations: 394 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.132, allocations: 9.656 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/1.132, allocations: 15.23 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/1.132, allocations: 164.2 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.132, allocations: 5.688 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/1.132, allocations: 2.719 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/1.132, allocations: 65.42 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.132, allocations: 1.375 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.132, allocations: 0 / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/1.132, allocations: 1.406 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.184e-05/1.132, allocations: 17.11 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/1.133, allocations: 281.1 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.133, allocations: 34.64 kB / 1.221 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/1.133, allocations: 24.44 kB / 1.221 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/1.133, allocations: 0 / 1.221 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/1.133, allocations: 99.28 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/1.133, allocations: 0 / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0003974/1.134, allocations: 141.2 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.134, allocations: 87.97 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/1.134, allocations: 111.4 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.134, allocations: 26.8 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/1.134, allocations: 86.39 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/1.134, allocations: 19.94 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/1.134, allocations: 25.23 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.134, allocations: 320.3 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/1.134, allocations: 20.8 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/1.134, allocations: 42.38 kB / 1.222 GB, free: 80 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/1.135, allocations: 108.8 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.135, allocations: 0 / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001851/1.135, allocations: 126.1 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/1.135, allocations: 31.42 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.135, allocations: 5.406 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.135, allocations: 0.8438 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/1.135, allocations: 11.34 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.135, allocations: 1.406 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/1.135, allocations: 8.578 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/1.135, allocations: 3.281 kB / 1.223 GB, free: 15.83 MB / 0.9356 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.0001364/1.135, allocations: 151.8 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/1.135, allocations: 8.328 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/1.135, allocations: 21.45 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.135, allocations: 0.875 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.135, allocations: 1.094 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.135, allocations: 3.984 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/1.136, allocations: 404 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.136, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/1.136, allocations: 1.594 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.136, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.136, allocations: 7.25 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.136, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.136, allocations: 4 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/1.136, allocations: 242 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/1.136, allocations: 82.12 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.136, allocations: 2.188 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.136, allocations: 9.422 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/1.136, allocations: 11.19 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/1.136, allocations: 7.828 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.599e-05/1.136, allocations: 97.34 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/1.136, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002307/1.137, allocations: 13.09 kB / 1.224 GB, free: 14.84 MB / 0.9356 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.0001608/1.137, allocations: 112.4 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002389/1.137, allocations: 104.1 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.137, allocations: 1.094 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.137, allocations: 84.38 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/1.137, allocations: 23.08 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/1.138, allocations: 151 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/1.138, allocations: 0.688 MB / 1.225 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.879e-05/1.138, allocations: 3.406 kB / 1.225 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/1.138, allocations: 10.88 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/1.138, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.003959/1.142, allocations: 0.9111 MB / 1.226 GB, free: 13.25 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.235822063870728]