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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00646/0.00646, allocations: 102 kB / 15.73 MB, free: 6.043 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.001339/0.00134, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 67.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004409/0.3221, allocations: 2.829 MB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.3246, allocations: 1.348 MB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.325, allocations: 11.94 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.3256, allocations: 147.1 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.3261, allocations: 143.2 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.327, allocations: 306.3 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.3276, allocations: 479.5 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3279, allocations: 202.5 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.3283, allocations: 191.1 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.3286, allocations: 199.1 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.3287, allocations: 40 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3288, allocations: 75.98 kB / 1.214 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3289, allocations: 91.64 kB / 1.214 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3291, allocations: 186.9 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.3297, allocations: 0.5294 MB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3297, allocations: 7.938 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3297, allocations: 0 / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.3298, allocations: 3.938 kB / 1.214 GB, free: 2.906 MB / 0.9669 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.001157/0.3309, allocations: 0.7009 MB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.331, allocations: 8.625 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.3311, allocations: 52.38 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.3317, allocations: 402.7 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3317, allocations: 20.92 kB / 1.215 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3318, allocations: 28.12 kB / 1.215 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.3323, allocations: 275.6 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3324, allocations: 0 / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.3324, allocations: 12 kB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3324, allocations: 4 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.3328, allocations: 186.2 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3342, allocations: 0.8801 MB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/0.3349, allocations: 227 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.3352, allocations: 88.83 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3352, allocations: 7.938 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.3355, allocations: 143.3 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.674e-06/0.3355, allocations: 0 / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0007281/0.3363, allocations: 287.1 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3363, allocations: 55.41 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.3367, allocations: 417.6 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3368, allocations: 33.64 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3369, allocations: 216 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.337, allocations: 59.11 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.3371, allocations: 49.94 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3372, allocations: 350.7 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3374, allocations: 72.42 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.3376, allocations: 110 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.338, allocations: 187.1 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.338, allocations: 0 / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005676/0.3386, allocations: 263.7 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3386, allocations: 8 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3386, allocations: 0 / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3386, allocations: 4 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3389, allocations: 43.91 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3389, allocations: 4 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3391, allocations: 31.7 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.3391, allocations: 8 kB / 1.219 GB, free: 13.47 MB / 0.9825 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.0001774/0.3393, allocations: 169.8 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.3393, allocations: 35.53 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.3394, allocations: 43.58 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3394, allocations: 4 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3394, allocations: 0 / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3394, allocations: 7.875 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.3404, allocations: 0.6837 MB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3404, allocations: 4 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3406, allocations: 27.97 kB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.3406, allocations: 4 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3407, allocations: 7.938 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3407, allocations: 3.938 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3407, allocations: 4 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.3414, allocations: 422.9 kB / 1.221 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3415, allocations: 124.6 kB / 1.221 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.3416, allocations: 7.938 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3418, allocations: 11.98 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3418, allocations: 15.98 kB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3419, allocations: 11.98 kB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003017/0.3422, allocations: 291.2 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 0 / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003647/0.3425, allocations: 63.78 kB / 1.221 GB, free: 11.46 MB / 0.9825 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.0009328/0.3435, allocations: 429.4 kB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.344, allocations: 173.5 kB / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.344, allocations: 0 / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.3442, allocations: 100.2 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.3448, allocations: 87.91 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3459, allocations: 0.6261 MB / 1.223 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.3464, allocations: 0.8028 MB / 1.223 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000181/0.3466, allocations: 46.94 kB / 1.223 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.3467, allocations: 27.44 kB / 1.223 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3467, allocations: 3.938 kB / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.01028/0.3569, allocations: 3.797 MB / 1.227 GB, free: 5.535 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches