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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001465/0.001465, allocations: 108 kB / 15.6 MB, free: 132 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.001743/0.001743, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.666/1.666, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.623/2.623, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 63.89 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8193, allocations: 140.3 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004315/0.8237, allocations: 2.838 MB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.8259, allocations: 1.343 MB / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.8263, allocations: 11.09 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.8268, allocations: 150.2 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.8272, allocations: 135.1 kB / 0.954 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.8278, allocations: 300.5 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.8283, allocations: 481.4 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.8287, allocations: 198.4 kB / 0.9549 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.8289, allocations: 182.9 kB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.8292, allocations: 200.2 kB / 0.9553 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.8292, allocations: 38.5 kB / 0.9553 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.8294, allocations: 72.31 kB / 0.9554 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.8295, allocations: 101 kB / 0.9555 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.8297, allocations: 184.3 kB / 0.9556 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.8302, allocations: 0.5103 MB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8303, allocations: 0 / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8303, allocations: 0 / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.8303, allocations: 1.344 kB / 0.9561 GB, free: 4.059 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.00103/0.8313, allocations: 0.7054 MB / 0.9568 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.8314, allocations: 9.969 kB / 0.9568 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.8315, allocations: 45.12 kB / 0.9569 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.832, allocations: 403.6 kB / 0.9573 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.832, allocations: 22.81 kB / 0.9573 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.8321, allocations: 28.81 kB / 0.9573 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.8326, allocations: 275.5 kB / 0.9576 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8326, allocations: 3.984 kB / 0.9576 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.8326, allocations: 10.75 kB / 0.9576 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.8326, allocations: 5.5 kB / 0.9576 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.833, allocations: 187.5 kB / 0.9578 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.8342, allocations: 0.8757 MB / 0.9586 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.835, allocations: 229.7 kB / 0.9588 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.8352, allocations: 95.92 kB / 0.9589 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.8352, allocations: 6.172 kB / 0.9589 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.8356, allocations: 144.2 kB / 0.9591 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.8356, allocations: 0 / 0.9591 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007068/0.8363, allocations: 294.6 kB / 0.9594 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.8364, allocations: 54.69 kB / 0.9594 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.8368, allocations: 410.3 kB / 0.9598 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.8368, allocations: 31.73 kB / 0.9598 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.837, allocations: 209.9 kB / 0.96 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.837, allocations: 62.78 kB / 0.9601 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.8371, allocations: 47.69 kB / 0.9601 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.8372, allocations: 352.4 kB / 0.9605 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.8373, allocations: 70.59 kB / 0.9605 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.8375, allocations: 124.6 kB / 0.9607 GB, free: 460 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.8379, allocations: 183.2 kB / 0.9608 GB, free: 336 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.8379, allocations: 1.25 kB / 0.9608 GB, free: 336 kB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004736/0.8384, allocations: 258.7 kB / 0.9611 GB, free: 192 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8384, allocations: 5.719 kB / 0.9611 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8384, allocations: 1.25 kB / 0.9611 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.8384, allocations: 3.531 kB / 0.9611 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.8387, allocations: 50.72 kB / 0.9611 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.8387, allocations: 6.344 kB / 0.9611 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.8388, allocations: 23.67 kB / 0.9612 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.8388, allocations: 6.25 kB / 0.9612 GB, free: 156 kB / 0.7169 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.0001764/0.839, allocations: 176.2 kB / 0.9613 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.8391, allocations: 40.72 kB / 0.9614 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.8392, allocations: 39.34 kB / 0.9614 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.8392, allocations: 6.406 kB / 0.9614 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8392, allocations: 3.938 kB / 0.9614 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8392, allocations: 0 / 0.9614 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.8402, allocations: 0.6793 MB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8402, allocations: 0 / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.8404, allocations: 35.84 kB / 0.9621 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8404, allocations: 3.938 kB / 0.9621 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.8404, allocations: 5.156 kB / 0.9621 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8404, allocations: 3.938 kB / 0.9621 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8405, allocations: 0 / 0.9621 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.8412, allocations: 424.3 kB / 0.9625 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.8413, allocations: 135.5 kB / 0.9627 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.8414, allocations: 6.438 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.8415, allocations: 8.047 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.8416, allocations: 19.78 kB / 0.9627 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.8416, allocations: 9.062 kB / 0.9627 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003141/0.842, allocations: 289.1 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/0.842, allocations: 4.062 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003421/0.8423, allocations: 64.52 kB / 0.9631 GB, free: 14.72 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.001006/0.8433, allocations: 412.6 kB / 0.9635 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.8439, allocations: 191.5 kB / 0.9636 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8439, allocations: 320 / 0.9636 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.8441, allocations: 100.7 kB / 0.9637 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.8447, allocations: 90.69 kB / 0.9638 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.846, allocations: 0.6225 MB / 0.9644 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.8464, allocations: 0.8041 MB / 0.9652 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.8466, allocations: 41.91 kB / 0.9653 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.8467, allocations: 31.67 kB / 0.9653 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8467, allocations: 0 / 0.9653 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.01028/0.857, allocations: 3.765 MB / 0.969 GB, free: 11.29 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/jenkins/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