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.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.001774/0.001774, allocations: 111.3 kB / 17.6 MB, free: 4.699 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.001974/0.001974, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.137, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002301/1.139, allocations: 0.8216 MB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001603/1.141, allocations: 1.163 MB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/1.141, allocations: 4.75 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/1.141, allocations: 4.969 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/1.141, allocations: 15.91 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/1.141, allocations: 139.6 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/1.141, allocations: 142.8 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/1.142, allocations: 28.91 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/1.142, allocations: 64.11 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/1.142, allocations: 58.56 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/1.142, allocations: 14.34 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/1.142, allocations: 32.7 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/1.142, allocations: 13.75 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/1.142, allocations: 55.95 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/1.142, allocations: 154.5 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.142, allocations: 0 / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.142, allocations: 0 / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.032e-06/1.142, allocations: 0 / 1.274 GB, free: 6.016 MB / 0.9981 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.0005499/1.143, allocations: 438.7 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.143, allocations: 10.53 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/1.143, allocations: 33.69 kB / 1.275 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/1.143, allocations: 11.67 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.106e-05/1.143, allocations: 182.3 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.143, allocations: 4.938 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/1.143, allocations: 12.62 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/1.143, allocations: 88.48 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.143, allocations: 3.938 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.143, allocations: 4.844 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/1.143, allocations: 2.156 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/1.144, allocations: 54.69 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/1.144, allocations: 378.5 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/1.144, allocations: 58.5 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/1.144, allocations: 26.98 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/1.144, allocations: 1.031 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/1.145, allocations: 88.52 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/1.145, allocations: 4 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004373/1.145, allocations: 122.2 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.145, allocations: 52.78 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/1.145, allocations: 148.2 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/1.145, allocations: 29.11 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/1.145, allocations: 103 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/1.145, allocations: 19.84 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/1.145, allocations: 39.39 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/1.145, allocations: 317.7 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/1.146, allocations: 54.02 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/1.146, allocations: 80.2 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/1.146, allocations: 120.5 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.146, allocations: 0 / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004109/1.146, allocations: 194.6 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.146, allocations: 32.77 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.146, allocations: 8.75 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.146, allocations: 1.438 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/1.146, allocations: 5.906 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.146, allocations: 5.656 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.147, allocations: 40.38 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/1.147, allocations: 6.516 kB / 1.277 GB, free: 3.801 MB / 0.9981 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 7.628e-05/1.147, allocations: 125.7 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/1.147, allocations: 6.234 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/1.147, allocations: 11.44 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.147, allocations: 1.094 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.147, allocations: 5.719 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.147, allocations: 5.172 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/1.147, allocations: 194.3 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.147, allocations: 0.7969 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/1.147, allocations: 8.359 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.147, allocations: 0.7812 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.147, allocations: 6.688 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.147, allocations: 0.8125 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.147, allocations: 3.938 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/1.147, allocations: 125.2 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/1.147, allocations: 87.94 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/1.147, allocations: 5.5 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/1.147, allocations: 20.72 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/1.147, allocations: 12.88 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/1.148, allocations: 1.594 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.882e-05/1.148, allocations: 94.89 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.148, allocations: 1.031 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002279/1.148, allocations: 21.78 kB / 1.278 GB, free: 3.145 MB / 0.9981 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.0004697/1.148, allocations: 0.6673 MB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003959/1.149, allocations: 154.3 kB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.149, allocations: 0 / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/1.149, allocations: 41.5 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/1.149, allocations: 18.91 kB / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/1.151, allocations: 1.607 MB / 1.28 GB, free: 17.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.151, allocations: 0.6904 MB / 1.281 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.807e-05/1.151, allocations: 5.125 kB / 1.281 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/1.151, allocations: 28.91 kB / 1.281 GB, free: 16.36 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.151, allocations: 0.9688 kB / 1.281 GB, free: 16.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/1.178, allocations: 2.792 MB / 1.283 GB, free: 15.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.936, allocations: 2.031 kB / 1.283 GB, free: 15.9 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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: 15.385579288005829]