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.001302/0.001302, allocations: 119 kB / 17.17 MB, free: 5.906 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.001333/0.001333, allocations: 211 kB / 20.13 MB, free: 2.965 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.431/3.431, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",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.002257/0.002257, allocations: 67.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9475, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003831/0.9513, allocations: 2.878 MB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.9537, allocations: 1.528 MB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.954, allocations: 20.88 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.9544, allocations: 148.1 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.9549, allocations: 179.3 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.9555, allocations: 278.1 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.9559, allocations: 489.9 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.9562, allocations: 131 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.9565, allocations: 210.6 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.9567, allocations: 203.8 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.9568, allocations: 39.16 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.957, allocations: 80.7 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.9571, allocations: 99.06 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.9572, allocations: 187.6 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.9579, allocations: 0.5479 MB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9579, allocations: 0 / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9579, allocations: 7.938 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.9579, allocations: 0 / 1.347 GB, free: 11.82 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.001038/0.9589, allocations: 0.7211 MB / 1.348 GB, free: 11.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.959, allocations: 9.625 kB / 1.348 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.626e-05/0.959, allocations: 12.22 kB / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.959, allocations: 59.81 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.9592, allocations: 59.28 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.9598, allocations: 418.3 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.9598, allocations: 22.22 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.9599, allocations: 23.97 kB / 1.348 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.9604, allocations: 281.6 kB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.9604, allocations: 0 / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.9604, allocations: 10.38 kB / 1.348 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.9604, allocations: 5.688 kB / 1.348 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.9609, allocations: 184.7 kB / 1.349 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.9622, allocations: 0.8781 MB / 1.35 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.9629, allocations: 222.9 kB / 1.35 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.9631, allocations: 82.41 kB / 1.35 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.9632, allocations: 7.875 kB / 1.35 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.9635, allocations: 141.5 kB / 1.35 GB, free: 9.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.9635, allocations: 1.125 kB / 1.35 GB, free: 9.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0007256/0.9642, allocations: 297.8 kB / 1.35 GB, free: 9.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.9642, allocations: 54.31 kB / 1.35 GB, free: 9.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.9647, allocations: 423.4 kB / 1.351 GB, free: 9.402 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.9647, allocations: 31.36 kB / 1.351 GB, free: 9.367 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.9648, allocations: 219.3 kB / 1.351 GB, free: 9.188 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.9649, allocations: 65.12 kB / 1.351 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.9649, allocations: 49.44 kB / 1.351 GB, free: 9.105 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.965, allocations: 355.3 kB / 1.351 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.9652, allocations: 69.34 kB / 1.351 GB, free: 8.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.9654, allocations: 113.4 kB / 1.352 GB, free: 8.672 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.9658, allocations: 186.8 kB / 1.352 GB, free: 8.559 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9658, allocations: 0 / 1.352 GB, free: 8.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005217/0.9663, allocations: 263.1 kB / 1.352 GB, free: 8.438 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9663, allocations: 5.656 kB / 1.352 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9663, allocations: 5.031 kB / 1.352 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9663, allocations: 2.188 kB / 1.352 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.9666, allocations: 51.7 kB / 1.352 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.9666, allocations: 14.56 kB / 1.352 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.9667, allocations: 26.31 kB / 1.352 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.9667, allocations: 10.97 kB / 1.352 GB, free: 8.395 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,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.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.0001491/0.9669, allocations: 167.9 kB / 1.352 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.9669, allocations: 37.59 kB / 1.352 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.967, allocations: 42.25 kB / 1.352 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.967, allocations: 2.062 kB / 1.352 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.967, allocations: 3.938 kB / 1.352 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.9671, allocations: 2.25 kB / 1.352 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.968, allocations: 0.6854 MB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.968, allocations: 1.562 kB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.9682, allocations: 31.52 kB / 1.353 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9682, allocations: 5.906 kB / 1.353 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.9682, allocations: 6.5 kB / 1.353 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9682, allocations: 1.844 kB / 1.353 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9682, allocations: 0.7812 kB / 1.353 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.969, allocations: 419.9 kB / 1.353 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.969, allocations: 136.8 kB / 1.354 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.9691, allocations: 5.812 kB / 1.354 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.9692, allocations: 11.86 kB / 1.354 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.9693, allocations: 16.97 kB / 1.354 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.9693, allocations: 5.828 kB / 1.354 GB, free: 7.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003204/0.9697, allocations: 308.9 kB / 1.354 GB, free: 7.188 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9697, allocations: 0 / 1.354 GB, free: 7.188 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003846/0.97, allocations: 61.3 kB / 1.354 GB, free: 7.172 MB / 1.061 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,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.002269/0.9723, allocations: 1.271 MB / 1.355 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.9728, allocations: 177.3 kB / 1.355 GB, free: 6.227 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9728, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.9731, allocations: 86.05 kB / 1.355 GB, free: 6.199 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.9737, allocations: 95.73 kB / 1.356 GB, free: 6.164 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.9782, allocations: 3.102 MB / 1.359 GB, free: 4.191 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.9785, allocations: 0.8011 MB / 1.359 GB, free: 3.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.9788, allocations: 44.56 kB / 1.359 GB, free: 3.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.979, allocations: 134.7 kB / 1.36 GB, free: 3.383 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/0.979, allocations: 3.938 kB / 1.36 GB, free: 3.379 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/1.008, allocations: 7.746 MB / 1.367 GB, free: 2.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.802/9.809, allocations: 11.97 kB / 1.367 GB, free: 2.328 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 840.0] 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: 17.13902343000518]