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.001608/0.001608, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002514/0.002514, allocations: 200.5 kB / 16.26 MB, free: 6.621 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.427/2.427, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6227/0.6239, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00363/0.6276, allocations: 2.869 MB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.6293, allocations: 1.32 MB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.6296, allocations: 11.06 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.63, allocations: 125.5 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.6303, allocations: 128.5 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.6308, allocations: 271.8 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.6312, allocations: 477.2 kB / 0.9542 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.6314, allocations: 206.3 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.6316, allocations: 182.7 kB / 0.9545 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.6318, allocations: 203.1 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.6319, allocations: 37.66 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.632, allocations: 76.58 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.6321, allocations: 101.8 kB / 0.9549 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.6323, allocations: 189.2 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.6327, allocations: 0.5095 MB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6327, allocations: 0 / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6327, allocations: 1.219 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6327, allocations: 0 / 0.9556 GB, free: 4.086 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.0008865/0.6336, allocations: 0.6984 MB / 0.9563 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.6336, allocations: 19.14 kB / 0.9563 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.6337, allocations: 45.88 kB / 0.9563 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.6341, allocations: 397.9 kB / 0.9567 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.6342, allocations: 26.2 kB / 0.9568 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.6342, allocations: 23.78 kB / 0.9568 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.6347, allocations: 272.8 kB / 0.957 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6347, allocations: 4 kB / 0.957 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.6348, allocations: 21.83 kB / 0.9571 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6348, allocations: 7.312 kB / 0.9571 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.6352, allocations: 178.3 kB / 0.9572 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.6363, allocations: 0.8715 MB / 0.9581 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.637, allocations: 229 kB / 0.9583 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6372, allocations: 87.84 kB / 0.9584 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.6372, allocations: 2.312 kB / 0.9584 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.6375, allocations: 148.6 kB / 0.9585 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.562e-06/0.6376, allocations: 0 / 0.9585 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006518/0.6382, allocations: 285.9 kB / 0.9588 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.6382, allocations: 53.66 kB / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.6386, allocations: 419.3 kB / 0.9593 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.6387, allocations: 30.64 kB / 0.9593 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.6388, allocations: 218.1 kB / 0.9595 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.6388, allocations: 59.14 kB / 0.9596 GB, free: 1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.6389, allocations: 52.36 kB / 0.9596 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.639, allocations: 352 kB / 0.9599 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.6391, allocations: 70.62 kB / 0.96 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.6393, allocations: 118 kB / 0.9601 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.6397, allocations: 182.4 kB / 0.9603 GB, free: 380 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6397, allocations: 1.062 kB / 0.9603 GB, free: 380 kB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004625/0.6402, allocations: 255.2 kB / 0.9605 GB, free: 240 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6402, allocations: 6.969 kB / 0.9605 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6402, allocations: 2.625 kB / 0.9605 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.6402, allocations: 1.406 kB / 0.9605 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6404, allocations: 55.31 kB / 0.9606 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6404, allocations: 7.188 kB / 0.9606 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.6406, allocations: 27.48 kB / 0.9606 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.6406, allocations: 6.312 kB / 0.9606 GB, free: 196 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.0001339/0.6407, allocations: 171.7 kB / 0.9608 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.6408, allocations: 37.22 kB / 0.9608 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.6409, allocations: 43.12 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6409, allocations: 6.031 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6409, allocations: 3.938 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6409, allocations: 1.094 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.6418, allocations: 0.6766 MB / 0.9616 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6419, allocations: 0 / 0.9616 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.642, allocations: 30.61 kB / 0.9616 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6421, allocations: 5 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.6421, allocations: 10.52 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6421, allocations: 0.9688 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6421, allocations: 0 / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.6428, allocations: 422.1 kB / 0.962 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6429, allocations: 135.9 kB / 0.9621 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.643, allocations: 6.719 kB / 0.9621 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6432, allocations: 11.58 kB / 0.9621 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.6432, allocations: 15.73 kB / 0.9622 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.6433, allocations: 9.656 kB / 0.9622 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002922/0.6436, allocations: 293 kB / 0.9624 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6436, allocations: 0 / 0.9624 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003257/0.6439, allocations: 59.81 kB / 0.9625 GB, free: 14.78 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.0009211/0.6448, allocations: 432.7 kB / 0.9629 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.6453, allocations: 187.4 kB / 0.9631 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6453, allocations: 1.094 kB / 0.9631 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.6456, allocations: 94.41 kB / 0.9632 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.6462, allocations: 93.08 kB / 0.9633 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.6475, allocations: 0.7341 MB / 0.964 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.648, allocations: 0.8033 MB / 0.9648 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.6482, allocations: 45.84 kB / 0.9648 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.6483, allocations: 27.72 kB / 0.9648 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.6483, allocations: 0 / 0.9648 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of Templates: time 0.008139/0.6564, allocations: 3.709 MB / 0.9685 GB, free: 11.25 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