Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001367/0.001367, allocations: 107.7 kB / 16.45 MB, free: 6.504 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.001364/0.001364, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.467/1.467, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.03 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8688, allocations: 160.7 MB / 1.213 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002355/0.8712, allocations: 0.8108 MB / 1.214 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.8728, allocations: 1.157 MB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.8729, allocations: 0.9688 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.8729, allocations: 7.922 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.873, allocations: 13.61 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.8735, allocations: 144.5 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.8737, allocations: 142.1 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.8739, allocations: 32.89 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.874, allocations: 55.66 kB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.8741, allocations: 64.83 kB / 1.215 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.8741, allocations: 13.75 kB / 1.215 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.8742, allocations: 24.42 kB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.8742, allocations: 19.39 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.8743, allocations: 51 kB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.8746, allocations: 160.4 kB / 1.216 GB, free: 1.965 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8746, allocations: 0 / 1.216 GB, free: 1.965 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8746, allocations: 0 / 1.216 GB, free: 1.965 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8746, allocations: 0 / 1.216 GB, free: 1.965 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007353/0.8753, allocations: 441.9 kB / 1.216 GB, free: 1.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8753, allocations: 10.53 kB / 1.216 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.8754, allocations: 40.75 kB / 1.216 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.8754, allocations: 15.72 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.8756, allocations: 171.5 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.8756, allocations: 5.594 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.8756, allocations: 12 kB / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.8759, allocations: 87.08 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8759, allocations: 7.938 kB / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.8759, allocations: 5.094 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8759, allocations: 1.281 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.8761, allocations: 55.98 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.8767, allocations: 374 kB / 1.217 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.8769, allocations: 54.27 kB / 1.217 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.877, allocations: 30.03 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.877, allocations: 1.094 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.8774, allocations: 85.02 kB / 1.217 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.8774, allocations: 3.938 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004575/0.8778, allocations: 130.9 kB / 1.217 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.8779, allocations: 52.5 kB / 1.217 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.878, allocations: 140.3 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.878, allocations: 32.8 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.8781, allocations: 98.2 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.8782, allocations: 18.42 kB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.8782, allocations: 36.27 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.8784, allocations: 321.1 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.8786, allocations: 50.22 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.8788, allocations: 82.11 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.8791, allocations: 120.5 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.8791, allocations: 0 / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004415/0.8795, allocations: 197.8 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.8795, allocations: 33.17 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8795, allocations: 1.062 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8796, allocations: 5.188 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.8797, allocations: 18.2 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8797, allocations: 4.688 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.8799, allocations: 35.39 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.8799, allocations: 9.172 kB / 1.218 GB, free: 15.5 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: 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.0001366/0.8801, allocations: 117.8 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.8801, allocations: 14.23 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.8801, allocations: 5.844 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8801, allocations: 4.969 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8801, allocations: 4.969 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.8801, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.8803, allocations: 193.8 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8803, allocations: 0 / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.8804, allocations: 8.953 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8804, allocations: 1.188 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.8804, allocations: 0.875 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8804, allocations: 5.156 kB / 1.219 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8804, allocations: 7.875 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.8807, allocations: 126.8 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.8808, allocations: 82.19 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.8808, allocations: 14.22 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.8808, allocations: 8.953 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.8809, allocations: 17.48 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.8809, allocations: 10.3 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.496e-05/0.881, allocations: 91.8 kB / 1.219 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.881, allocations: 0 / 1.219 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002294/0.8812, allocations: 22.22 kB / 1.219 GB, free: 14.81 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: 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.0006416/0.8819, allocations: 0.6663 MB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.8822, allocations: 154.8 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8822, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.8824, allocations: 31.08 kB / 1.22 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.8826, allocations: 25.02 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.8847, allocations: 1.61 MB / 1.221 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.8851, allocations: 0.6899 MB / 1.222 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.8851, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.8852, allocations: 26.64 kB / 1.222 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.8852, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.9112, allocations: 2.823 MB / 1.225 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.75, allocations: 7.297 kB / 1.225 GB, free: 10.44 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.828302124049515]