Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.001383/0.001383, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001555/0.001555, allocations: 222 kB / 23 MB, free: 4.91 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.265/3.265, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [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.002118/0.002118, allocations: 65.44 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005536/0.4161, allocations: 2.704 MB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.4193, allocations: 1.458 MB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.4197, allocations: 15.88 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.4202, allocations: 147.1 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.4208, allocations: 183 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.4215, allocations: 285.8 kB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.4221, allocations: 495.4 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.4224, allocations: 119.1 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.4227, allocations: 203.1 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.423, allocations: 191 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.4231, allocations: 40 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.4232, allocations: 79.98 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.4234, allocations: 103.6 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4235, allocations: 143.1 kB / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.4244, allocations: 0.5407 MB / 1.371 GB, free: 6.887 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4244, allocations: 4 kB / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4244, allocations: 0 / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.4244, allocations: 4 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00129/0.4257, allocations: 0.6805 MB / 1.372 GB, free: 6.164 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4257, allocations: 8.031 kB / 1.372 GB, free: 6.156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.4259, allocations: 68.53 kB / 1.372 GB, free: 6.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.4267, allocations: 347.7 kB / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.4267, allocations: 20.88 kB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.4268, allocations: 28.12 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.4274, allocations: 304.4 kB / 1.373 GB, free: 5.367 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4274, allocations: 0 / 1.373 GB, free: 5.367 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.4274, allocations: 12 kB / 1.373 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4274, allocations: 11.98 kB / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.4279, allocations: 181.9 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.4292, allocations: 0.7174 MB / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.43, allocations: 225 kB / 1.374 GB, free: 4.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.4302, allocations: 92.66 kB / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.4302, allocations: 4 kB / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.4305, allocations: 141 kB / 1.374 GB, free: 3.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4305, allocations: 0 / 1.374 GB, free: 3.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0007484/0.4313, allocations: 295.2 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4313, allocations: 55.41 kB / 1.374 GB, free: 3.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.4319, allocations: 429.5 kB / 1.375 GB, free: 3.141 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4319, allocations: 29.7 kB / 1.375 GB, free: 3.105 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.4321, allocations: 220.7 kB / 1.375 GB, free: 2.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.4322, allocations: 63.44 kB / 1.375 GB, free: 2.824 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.4323, allocations: 45.94 kB / 1.375 GB, free: 2.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4325, allocations: 358.7 kB / 1.375 GB, free: 2.414 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.4326, allocations: 68.42 kB / 1.375 GB, free: 2.348 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.4329, allocations: 122 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.4333, allocations: 187.3 kB / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4333, allocations: 0 / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005383/0.4338, allocations: 269.2 kB / 1.376 GB, free: 1.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4338, allocations: 6.188 kB / 1.376 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4338, allocations: 4 kB / 1.376 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4339, allocations: 4 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4341, allocations: 43.91 kB / 1.376 GB, free: 1.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4341, allocations: 7.984 kB / 1.376 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.4342, allocations: 27.83 kB / 1.376 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.4342, allocations: 4 kB / 1.376 GB, free: 1.648 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0002024/0.4344, allocations: 178.9 kB / 1.376 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.4345, allocations: 35.77 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.4351, allocations: 254.4 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4351, allocations: 4 kB / 1.376 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.4351, allocations: 3.984 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4351, allocations: 0 / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.4361, allocations: 0.5941 MB / 1.377 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4361, allocations: 3.984 kB / 1.377 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.4363, allocations: 35.91 kB / 1.377 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4363, allocations: 0 / 1.377 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4363, allocations: 12 kB / 1.377 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4363, allocations: 0 / 1.377 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4363, allocations: 0 / 1.377 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.4371, allocations: 449.8 kB / 1.378 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4373, allocations: 59.62 kB / 1.378 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.4373, allocations: 0 / 1.378 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.4375, allocations: 8 kB / 1.378 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.4376, allocations: 27.89 kB / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.4376, allocations: 4 kB / 1.378 GB, free: 15.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003424/0.4379, allocations: 295.2 kB / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 0 / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003569/0.4383, allocations: 63.88 kB / 1.378 GB, free: 15.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001731/0.44, allocations: 451.5 kB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.4405, allocations: 171.8 kB / 1.379 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4405, allocations: 4 kB / 1.379 GB, free: 15.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.4407, allocations: 87.83 kB / 1.379 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.4413, allocations: 87.31 kB / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.4426, allocations: 0.6721 MB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4429, allocations: 199.1 kB / 1.38 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/0.4429, allocations: 39.36 kB / 1.38 GB, free: 14.03 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.4429, allocations: 0 / 1.38 GB, free: 14.03 MB / 1.076 GB Notification: Performance of Templates: time 0.008521/0.4515, allocations: 4.898 MB / 1.384 GB, free: 9.152 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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: 12.428430599160492]