Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 183.1 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004032, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7829, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003065/0.786, allocations: 2.489 MB / 0.9581 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.7881, allocations: 1.294 MB / 0.9594 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.7884, allocations: 13.44 kB / 0.9594 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.7889, allocations: 124.8 kB / 0.9595 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.7891, allocations: 115.1 kB / 0.9597 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.7897, allocations: 272 kB / 0.9599 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.7901, allocations: 440.7 kB / 0.9603 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.7904, allocations: 196.7 kB / 0.9605 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.7907, allocations: 142.1 kB / 0.9607 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.7909, allocations: 158.3 kB / 0.9608 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.7909, allocations: 7.719 kB / 0.9608 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.7911, allocations: 53.97 kB / 0.9609 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.7912, allocations: 53.59 kB / 0.9609 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.7913, allocations: 178.8 kB / 0.9611 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.7917, allocations: 399.3 kB / 0.9615 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7917, allocations: 0 / 0.9615 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7917, allocations: 3.938 kB / 0.9615 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7917, allocations: 1.375 kB / 0.9615 GB, free: 3.352 MB / 0.7169 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.000926/0.7926, allocations: 0.6359 MB / 0.9621 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.7927, allocations: 9.906 kB / 0.9621 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.7928, allocations: 45.47 kB / 0.9621 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.7933, allocations: 404.5 kB / 0.9625 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.7933, allocations: 26.47 kB / 0.9626 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.7934, allocations: 24.66 kB / 0.9626 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.7939, allocations: 273.2 kB / 0.9628 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7939, allocations: 0 / 0.9628 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.7939, allocations: 11 kB / 0.9629 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.794, allocations: 5.531 kB / 0.9629 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.7944, allocations: 191.8 kB / 0.963 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.7956, allocations: 0.8774 MB / 0.9639 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.7964, allocations: 230.7 kB / 0.9641 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.7966, allocations: 96.09 kB / 0.9642 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.7967, allocations: 0 / 0.9642 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.797, allocations: 143.2 kB / 0.9643 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.797, allocations: 0 / 0.9643 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.000724/0.7977, allocations: 295.7 kB / 0.9646 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7978, allocations: 57.75 kB / 0.9647 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.7983, allocations: 411.4 kB / 0.9651 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.7983, allocations: 34.88 kB / 0.9651 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.7984, allocations: 217.3 kB / 0.9653 GB, free: 372 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.7985, allocations: 60.12 kB / 0.9654 GB, free: 320 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.7985, allocations: 33.73 kB / 0.9654 GB, free: 288 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7987, allocations: 351.7 kB / 0.9657 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.7989, allocations: 64.97 kB / 0.9658 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.7991, allocations: 119.7 kB / 0.9659 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.7995, allocations: 189.6 kB / 0.9661 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7995, allocations: 0 / 0.9661 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005557/0.8001, allocations: 264.9 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.8002, allocations: 8.344 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8002, allocations: 5.328 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.8002, allocations: 1.719 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.8004, allocations: 44.17 kB / 0.9664 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.8004, allocations: 10.17 kB / 0.9664 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.8006, allocations: 24.72 kB / 0.9664 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.8006, allocations: 19.44 kB / 0.9665 GB, free: 15.51 MB / 0.7325 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.0002052/0.8009, allocations: 169.6 kB / 0.9666 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.8009, allocations: 39.33 kB / 0.9667 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.865e-05/0.801, allocations: 43.7 kB / 0.9667 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.801, allocations: 2.781 kB / 0.9667 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.8011, allocations: 3.938 kB / 0.9667 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.8011, allocations: 1.031 kB / 0.9667 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.8022, allocations: 0.688 MB / 0.9674 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8022, allocations: 0 / 0.9674 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.8024, allocations: 31.58 kB / 0.9674 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.8024, allocations: 4.906 kB / 0.9674 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.8024, allocations: 10.02 kB / 0.9674 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8024, allocations: 4.969 kB / 0.9674 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8024, allocations: 1 kB / 0.9674 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.8033, allocations: 425.5 kB / 0.9678 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.8034, allocations: 133.6 kB / 0.968 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.8035, allocations: 2.031 kB / 0.968 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.8036, allocations: 17.08 kB / 0.968 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.8037, allocations: 19.78 kB / 0.968 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.8038, allocations: 5.438 kB / 0.968 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003664/0.8041, allocations: 293.3 kB / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8041, allocations: 0 / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003609/0.8045, allocations: 68.2 kB / 0.9683 GB, free: 14.08 MB / 0.7325 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.001076/0.8056, allocations: 419.5 kB / 0.9687 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.8061, allocations: 172.8 kB / 0.9689 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8061, allocations: 0.7812 kB / 0.9689 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.8064, allocations: 100.1 kB / 0.969 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.807, allocations: 90.09 kB / 0.9691 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.8083, allocations: 0.7856 MB / 0.9699 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.8088, allocations: 0.8001 MB / 0.9706 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.8089, allocations: 31.94 kB / 0.9707 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.8089, allocations: 0 / 0.9707 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.008718/0.8176, allocations: 4.633 MB / 0.9752 GB, free: 9.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches