Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001875/0.001875, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002361/0.002361, allocations: 219.8 kB / 22.26 MB, free: 5.211 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.8 MB / 0.7707 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.002014/0.002014, allocations: 64.33 kB / 1.117 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 169.9 MB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002235/0.3588, allocations: 0.8239 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3604, allocations: 1.184 MB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.3605, allocations: 4 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.3605, allocations: 11.86 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.145e-05/0.3606, allocations: 15.86 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.3611, allocations: 143.3 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.3614, allocations: 147.7 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3615, allocations: 23.92 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3616, allocations: 55.91 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3617, allocations: 59.8 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3617, allocations: 16 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.506e-05/0.3618, allocations: 27.92 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.3618, allocations: 23.92 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.3619, allocations: 55.77 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.3622, allocations: 151.1 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3622, allocations: 4 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3622, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3622, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006484/0.3628, allocations: 359.7 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3629, allocations: 8.031 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.3629, allocations: 46.67 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.3629, allocations: 8.891 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.363, allocations: 118.4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3631, allocations: 16.38 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3631, allocations: 4.375 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3633, allocations: 90.14 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3633, allocations: 3.938 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3633, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3633, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.3635, allocations: 55.95 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.3641, allocations: 359.5 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3643, allocations: 50.55 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.3644, allocations: 28.88 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3644, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.3647, allocations: 95.36 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3647, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004285/0.3651, allocations: 121.6 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3651, allocations: 51.41 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3653, allocations: 137.7 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3653, allocations: 29.7 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.3654, allocations: 100 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3654, allocations: 15.88 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3655, allocations: 37.7 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3656, allocations: 318.8 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3658, allocations: 51.97 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3659, allocations: 83.39 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3662, allocations: 116.2 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3662, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004244/0.3666, allocations: 199.2 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.3667, allocations: 37.64 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3667, allocations: 0 / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.3668, allocations: 7.984 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3668, allocations: 7.938 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.367, allocations: 43.97 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.367, allocations: 11.98 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001075/0.3671, allocations: 117.8 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.3671, allocations: 3.953 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.3672, allocations: 16.31 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3672, allocations: 0 / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3672, allocations: 3.938 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3672, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3673, allocations: 160.7 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3673, allocations: 4.094 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.3674, allocations: 15.92 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3674, allocations: 0 / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3674, allocations: 0 / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3674, allocations: 0 / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3674, allocations: 3.938 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3677, allocations: 133.4 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.3677, allocations: 3.953 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3677, allocations: 4 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.3678, allocations: 11.98 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3678, allocations: 19.84 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.3678, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.3679, allocations: 95.27 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3679, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002228/0.3681, allocations: 27.89 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006186/0.3687, allocations: 0.6593 MB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.3691, allocations: 159.3 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3691, allocations: 0 / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3692, allocations: 35.92 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3694, allocations: 13.47 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3715, allocations: 1.614 MB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3718, allocations: 0.6885 MB / 1.292 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.3718, allocations: 4 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.3719, allocations: 31.42 kB / 1.292 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3719, allocations: 0 / 1.292 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4013, allocations: 2.934 MB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.23, allocations: 1.719 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 17.989016636973247]