Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 217.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.158/3.158, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 68.89 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002449/0.3728, allocations: 0.8062 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.375, allocations: 1.494 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3751, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.3753, allocations: 19.8 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.3754, allocations: 39.64 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3768, allocations: 0.5216 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.3775, allocations: 483.1 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3776, allocations: 29.67 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.378, allocations: 187.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.3783, allocations: 147.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.3784, allocations: 40 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3786, allocations: 51.98 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3786, allocations: 47.83 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.3789, allocations: 147.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.3794, allocations: 418.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3794, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3794, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3794, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009624/0.3804, allocations: 0.5761 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3805, allocations: 12.03 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3806, allocations: 28.84 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.381, allocations: 218.1 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.381, allocations: 16.38 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.3811, allocations: 28.38 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.3814, allocations: 151.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3814, allocations: 192 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3814, allocations: 15.92 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3814, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3816, allocations: 79.89 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.3824, allocations: 0.5742 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3826, allocations: 82.55 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.3827, allocations: 40.83 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.3827, allocations: 4.188 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/0.383, allocations: 156.5 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.383, allocations: 96 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005041/0.3835, allocations: 259 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3836, allocations: 59.41 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3838, allocations: 182.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.3838, allocations: 41.7 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.384, allocations: 128.6 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.384, allocations: 39.73 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3842, allocations: 113.6 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3844, allocations: 326.8 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.3848, allocations: 312.4 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.3853, allocations: 390.6 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.3858, allocations: 408.8 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3858, allocations: 0 / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001106/0.3869, allocations: 0.7858 MB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.387, allocations: 160.5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.387, allocations: 4 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.387, allocations: 11.88 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.799e-05/0.3871, allocations: 11.92 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3871, allocations: 4.344 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.3878, allocations: 135.7 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.3879, allocations: 35.97 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001919/0.3881, allocations: 166 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3881, allocations: 15.91 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3881, allocations: 17.81 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3881, allocations: 7.922 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3882, allocations: 0 / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3882, allocations: 4 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.3887, allocations: 443.9 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3887, allocations: 0 / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.3887, allocations: 12.06 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3887, allocations: 3.938 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3887, allocations: 8 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3888, allocations: 3.984 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3888, allocations: 0 / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3891, allocations: 283.3 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3891, allocations: 15.84 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3891, allocations: 7.984 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.3892, allocations: 4 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.3893, allocations: 19.97 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3893, allocations: 4 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.005e-05/0.3894, allocations: 127.2 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3894, allocations: 0 / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003734/0.3897, allocations: 87.89 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001723/0.3899, allocations: 115.1 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008467/0.3908, allocations: 0.6908 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3908, allocations: 128 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3909, allocations: 75.91 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3913, allocations: 39.95 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.3919, allocations: 363.4 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3921, allocations: 116.1 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.3921, allocations: 23.44 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3921, allocations: 3.938 kB / 1.338 GB, free: 4.816 MB / 1.029 GB Notification: Performance of Templates: time 0.006341/0.3984, allocations: 3.379 MB / 1.342 GB, free: 1.465 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y Variables in the result:mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,time [Calling sys.exit(0), Time elapsed: 11.608428956009448]