Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001704/0.001704, allocations: 103 kB / 16.45 MB, free: 6.5 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.002369/0.002369, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.195/3.195, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.00203/0.00203, allocations: 72.23 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3743, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002386/0.3767, allocations: 0.7374 MB / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3787, allocations: 1.299 MB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.3787, allocations: 0 / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.3788, allocations: 7.875 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.3789, allocations: 19.86 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.3798, allocations: 236.8 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000394/0.3802, allocations: 259.5 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3803, allocations: 16.22 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.3805, allocations: 103.8 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3807, allocations: 95.67 kB / 1.324 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.3808, allocations: 24 kB / 1.324 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.3809, allocations: 39.92 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.3809, allocations: 31.95 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.381, allocations: 91.73 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3814, allocations: 223.6 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3814, allocations: 4 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3814, allocations: 4 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3814, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008656/0.3822, allocations: 498.4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3823, allocations: 11.98 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.3823, allocations: 42.73 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.3824, allocations: 16.89 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.3831, allocations: 260.3 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3831, allocations: 16.36 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.3832, allocations: 16.38 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.3834, allocations: 131.6 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3834, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3835, allocations: 11.98 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3835, allocations: 3.938 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3836, allocations: 59.95 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.3845, allocations: 0.5163 MB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.3848, allocations: 141.2 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.3849, allocations: 45.7 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3849, allocations: 0 / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.3852, allocations: 216.9 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3852, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006515/0.3859, allocations: 315.2 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.386, allocations: 89.41 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3861, allocations: 131 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.3861, allocations: 37.69 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.3862, allocations: 100.7 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.3863, allocations: 59.56 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3864, allocations: 73.67 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3866, allocations: 322.8 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.3868, allocations: 84.23 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.387, allocations: 148.2 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.3874, allocations: 255.2 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3874, allocations: 4 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006695/0.3881, allocations: 364.7 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.3881, allocations: 67.39 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3881, allocations: 4 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3882, allocations: 4 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3883, allocations: 23.86 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3883, allocations: 224 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3887, allocations: 71.83 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3887, allocations: 19.98 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001647/0.3889, allocations: 141.8 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3889, allocations: 19.91 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.389, allocations: 12.5 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.389, allocations: 7.938 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.389, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.389, allocations: 7.922 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/0.3897, allocations: 0.6147 MB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3897, allocations: 0 / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.3898, allocations: 12 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3898, allocations: 7.922 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3898, allocations: 11.98 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3898, allocations: 0 / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3898, allocations: 3.938 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.3903, allocations: 424.3 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3904, allocations: 85.06 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.3904, allocations: 15.92 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3906, allocations: 11.98 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.3906, allocations: 19.97 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.3907, allocations: 19.98 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.3907, allocations: 91.27 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003895/0.3911, allocations: 63.92 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009104/0.392, allocations: 0.9732 MB / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005326/0.3926, allocations: 310.5 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3926, allocations: 0 / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.3927, allocations: 83.52 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.3931, allocations: 30.78 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.3964, allocations: 2.291 MB / 1.333 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3967, allocations: 0.7087 MB / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.328e-05/0.3968, allocations: 25.48 kB / 1.334 GB, free: 5.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.3969, allocations: 35.42 kB / 1.334 GB, free: 5.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3969, allocations: 3.938 kB / 1.334 GB, free: 5.406 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.4273, allocations: 4.121 MB / 1.338 GB, free: 1.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.454, allocations: 7.359 kB / 1.338 GB, free: 1.383 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: 15.163847784977406]