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.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.0008494/0.0008494, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009727/0.0009727, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8685/0.8685, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.204e-06/2.204e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.809e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00181/0.001828, allocations: 0.7957 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.003291, allocations: 1.182 MB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.00335, allocations: 0 / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.00339, allocations: 11.86 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.003478, allocations: 15.86 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.003952, allocations: 135.6 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.004153, allocations: 147.7 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004272, allocations: 23.92 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.004413, allocations: 83.86 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.004513, allocations: 51.86 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.004541, allocations: 12 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.004605, allocations: 23.98 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.004633, allocations: 19.92 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.004696, allocations: 43.91 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.004917, allocations: 171.6 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004919, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.223e-06/0.00492, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004924, allocations: 3.938 kB / 1.002 GB, free: 10.8 MB / 0.9636 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.0005643/0.005488, allocations: 359.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.005526, allocations: 8.75 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.005561, allocations: 38.75 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.005607, allocations: 12.84 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.005734, allocations: 113.7 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.005754, allocations: 16.38 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.005779, allocations: 8.375 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.005995, allocations: 85.47 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006003, allocations: 192 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006015, allocations: 384 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006021, allocations: 8.125 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.0062, allocations: 63.88 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.006721, allocations: 327.7 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.006874, allocations: 50.55 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.006955, allocations: 28.92 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.006967, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.007171, allocations: 79.38 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.007173, allocations: 0 / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0003682/0.007541, allocations: 137.5 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.007577, allocations: 55.41 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.007671, allocations: 133.7 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.007697, allocations: 29.64 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.007763, allocations: 112 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.007779, allocations: 3.953 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.007856, allocations: 37.7 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.007946, allocations: 326.8 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.008115, allocations: 81.66 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.008293, allocations: 134.8 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.008511, allocations: 120.2 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008514, allocations: 0 / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004104/0.008924, allocations: 228.9 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.008958, allocations: 41.8 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.008963, allocations: 0 / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.008977, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.009051, allocations: 7.984 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.009059, allocations: 7.938 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.009229, allocations: 35.91 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.009252, allocations: 11.98 kB / 1.005 GB, free: 7.883 MB / 0.9636 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 8.962e-05/0.009342, allocations: 129.8 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.009355, allocations: 0 / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.009384, allocations: 12.44 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.009386, allocations: 0 / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.00939, allocations: 0 / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.009395, allocations: 3.984 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.009521, allocations: 160.6 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009522, allocations: 0 / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.009577, allocations: 11.98 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009579, allocations: 0 / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.009587, allocations: 4 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009589, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00959, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.009827, allocations: 129.3 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.009838, allocations: 7.891 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.009856, allocations: 4.062 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.009911, allocations: 11.98 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.009964, allocations: 15.92 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.009974, allocations: 7.984 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.01002, allocations: 91.28 kB / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01002, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002463/0.01027, allocations: 36.03 kB / 1.005 GB, free: 7.199 MB / 0.9636 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.0005179/0.01079, allocations: 0.6591 MB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.01115, allocations: 185.1 kB / 1.006 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01115, allocations: 4.062 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01125, allocations: 39.91 kB / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01147, allocations: 6.062 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.01335, allocations: 1.731 MB / 1.008 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.0134, allocations: 75.33 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01344, allocations: 4 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.0135, allocations: 28.48 kB / 1.008 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.0135, allocations: 0 / 1.008 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.0297, allocations: 3.608 MB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.937, allocations: 11.98 kB / 1.012 GB, free: 0.8203 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.852539245039225]