Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001336/0.001336, allocations: 109.8 kB / 16.45 MB, free: 6.035 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.00128/0.00128, allocations: 192.5 kB / 19.41 MB, free: 3.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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.262/3.262, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 64.61 kB / 1.134 GB, free: 33.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 173.9 MB / 1.304 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002193/0.362, allocations: 0.8124 MB / 1.305 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3636, allocations: 1.155 MB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3637, allocations: 4 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.3637, allocations: 7.875 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3638, allocations: 19.84 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.3643, allocations: 139.4 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3645, allocations: 143.7 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3647, allocations: 27.98 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3648, allocations: 51.89 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3649, allocations: 63.8 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3649, allocations: 12 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.365, allocations: 31.98 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.365, allocations: 19.92 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.3651, allocations: 59.77 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3653, allocations: 155.7 kB / 1.307 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3653, allocations: 0 / 1.307 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3653, allocations: 7.875 kB / 1.307 GB, free: 14.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3653, allocations: 0 / 1.307 GB, free: 14.97 MB / 1.014 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.0006709/0.366, allocations: 432.9 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3661, allocations: 8.922 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.3661, allocations: 34.75 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.3661, allocations: 12.89 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3663, allocations: 184.2 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3663, allocations: 8.375 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.3663, allocations: 12.38 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3666, allocations: 74.22 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3666, allocations: 7.938 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3666, allocations: 8 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3666, allocations: 0 / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3668, allocations: 59.94 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.3674, allocations: 384.5 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.3675, allocations: 50.56 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.3676, allocations: 32.92 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3676, allocations: 0 / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.3679, allocations: 87.3 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3679, allocations: 0 / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0004244/0.3683, allocations: 125.6 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3684, allocations: 55.41 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3685, allocations: 125.8 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3685, allocations: 29.69 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3686, allocations: 104 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3686, allocations: 7.953 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.3687, allocations: 45.62 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3688, allocations: 318.8 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.369, allocations: 51.95 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3692, allocations: 83.33 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.3694, allocations: 124.2 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3694, allocations: 0 / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004189/0.3698, allocations: 191.2 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.3699, allocations: 37.69 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3699, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3699, allocations: 4.062 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.37, allocations: 11.98 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.37, allocations: 3.938 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.3702, allocations: 47.94 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3702, allocations: 7.938 kB / 1.309 GB, free: 11.97 MB / 1.014 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.0001112/0.3703, allocations: 129.8 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.3704, allocations: 8 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.3704, allocations: 8.375 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3704, allocations: 0 / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3704, allocations: 3.938 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3704, allocations: 0 / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.3706, allocations: 193.6 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3706, allocations: 4.25 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.3706, allocations: 11.98 kB / 1.31 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3706, allocations: 4 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3706, allocations: 0 / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3706, allocations: 4 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3706, allocations: 3.938 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3709, allocations: 121.1 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.371, allocations: 81.06 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.371, allocations: 4 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.371, allocations: 11.98 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.3711, allocations: 15.92 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3711, allocations: 4 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.3712, allocations: 95.27 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3712, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002289/0.3714, allocations: 39.77 kB / 1.31 GB, free: 11.14 MB / 1.014 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.0006064/0.372, allocations: 0.6632 MB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.3724, allocations: 151.3 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3724, allocations: 0 / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3725, allocations: 35.97 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.3727, allocations: 26.36 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3747, allocations: 1.617 MB / 1.312 GB, free: 8.516 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.375, allocations: 0.6885 MB / 1.313 GB, free: 7.801 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.3751, allocations: 4 kB / 1.313 GB, free: 7.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.3751, allocations: 27.42 kB / 1.313 GB, free: 7.77 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.3751, allocations: 0 / 1.313 GB, free: 7.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.4007, allocations: 2.808 MB / 1.316 GB, free: 5.121 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.142, allocations: 8.859 kB / 1.316 GB, free: 5.117 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.982101755216718]