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.001834/0.001834, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.00221/0.00221, allocations: 211 kB / 22.24 MB, free: 5.121 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.777 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.833/2.833, allocations: 476 MB / 0.7699 GB, free: 4.723 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.002138/0.002138, allocations: 69.31 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3594, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002539/0.3619, allocations: 0.8074 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3637, allocations: 1.168 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.3638, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.3638, allocations: 7.938 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.3639, allocations: 15.84 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.3645, allocations: 145 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.3648, allocations: 139.7 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3649, allocations: 37.59 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3651, allocations: 51.91 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3652, allocations: 59.73 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.3652, allocations: 16 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.3653, allocations: 27.98 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.3653, allocations: 15.94 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.3654, allocations: 47.84 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3657, allocations: 159 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3657, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3657, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.3657, allocations: 0 / 1.285 GB, free: 9.766 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.0007047/0.3664, allocations: 357.8 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3664, allocations: 8.031 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.3665, allocations: 34.75 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.3665, allocations: 16.84 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3667, allocations: 126.4 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3667, allocations: 4.375 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3667, allocations: 12.38 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3669, allocations: 78.22 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.367, allocations: 7.938 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.367, allocations: 4 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.367, allocations: 11.98 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.3672, allocations: 55.95 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.3678, allocations: 323.6 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.368, allocations: 54.48 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3681, allocations: 32.92 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3681, allocations: 4 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.3684, allocations: 83.31 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.684e-06/0.3684, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004727/0.3688, allocations: 129.5 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3689, allocations: 59.34 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.369, allocations: 125.8 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.369, allocations: 29.7 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.3691, allocations: 108 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.3691, allocations: 7.953 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.3692, allocations: 37.7 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3693, allocations: 318.8 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.3695, allocations: 81.66 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.3698, allocations: 138.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.37, allocations: 120.2 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.37, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004592/0.3705, allocations: 228.9 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.3705, allocations: 33.7 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3705, allocations: 3.984 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3705, allocations: 4 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.3706, allocations: 8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3706, allocations: 8 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3709, allocations: 43.84 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3709, allocations: 12.06 kB / 1.288 GB, free: 6.844 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.000113/0.371, allocations: 117.8 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.371, allocations: 8 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.3711, allocations: 8.375 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3711, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3711, allocations: 7.922 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3711, allocations: 4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3712, allocations: 156.7 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3712, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.3713, allocations: 12.3 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3713, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3713, allocations: 4 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3713, allocations: 3.984 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3713, allocations: 3.938 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.3716, allocations: 133 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.3716, allocations: 3.953 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.3716, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.3717, allocations: 8.078 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.3718, allocations: 19.86 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3718, allocations: 7.984 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.162e-05/0.3718, allocations: 91.27 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3718, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00024/0.3721, allocations: 35.89 kB / 1.288 GB, free: 6.152 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.0006438/0.3727, allocations: 0.6554 MB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.3731, allocations: 185 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3731, allocations: 0 / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3733, allocations: 39.91 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3735, allocations: 18.72 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3757, allocations: 1.721 MB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.3758, allocations: 77.22 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.3758, allocations: 8 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.3759, allocations: 23.42 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3759, allocations: 7.938 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.4087, allocations: 3.491 MB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 4.062 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.25087752332911]