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.001198/0.001198, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.00117/0.00117, allocations: 187 kB / 17.34 MB, free: 5.762 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.309/2.309, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.629, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003771/0.6328, allocations: 2.842 MB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.6348, allocations: 1.333 MB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.635, allocations: 15.88 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.6354, allocations: 143.2 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.6358, allocations: 151.2 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.6363, allocations: 305.3 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.6368, allocations: 471.5 kB / 1.214 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.6371, allocations: 202.5 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.6373, allocations: 191.2 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.6375, allocations: 195.1 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.6376, allocations: 43.94 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.6377, allocations: 79.98 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.6379, allocations: 91.67 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.638, allocations: 190.8 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.6385, allocations: 0.5194 MB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6385, allocations: 0 / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6385, allocations: 0 / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.6386, allocations: 0 / 1.215 GB, free: 6.898 MB / 0.9356 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.0009554/0.6395, allocations: 0.7126 MB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.6396, allocations: 8.031 kB / 1.216 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.6396, allocations: 44.38 kB / 1.216 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.6402, allocations: 410.6 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6402, allocations: 16.94 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.6403, allocations: 32.12 kB / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.6408, allocations: 267.7 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6408, allocations: 0 / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.6408, allocations: 12 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6408, allocations: 7.984 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.6412, allocations: 190.1 kB / 1.217 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.6424, allocations: 0.8685 MB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.6431, allocations: 227 kB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.6433, allocations: 92.81 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.6433, allocations: 3.984 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.6436, allocations: 144.8 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.6436, allocations: 0 / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0006549/0.6443, allocations: 295.1 kB / 1.218 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.6443, allocations: 51.41 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.6447, allocations: 405.7 kB / 1.219 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.6447, allocations: 37.64 kB / 1.219 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.6449, allocations: 216 kB / 1.219 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.6449, allocations: 67.09 kB / 1.219 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.645, allocations: 57.92 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6451, allocations: 350.7 kB / 1.219 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.6453, allocations: 64.44 kB / 1.219 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.6455, allocations: 114 kB / 1.219 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.6459, allocations: 185 kB / 1.22 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6459, allocations: 0 / 1.22 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004642/0.6464, allocations: 267.2 kB / 1.22 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6464, allocations: 4 kB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6464, allocations: 4 kB / 1.22 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6464, allocations: 0 / 1.22 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.6466, allocations: 47.91 kB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6466, allocations: 8 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.6468, allocations: 27.94 kB / 1.22 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.6468, allocations: 11.98 kB / 1.22 GB, free: 1.449 MB / 0.9356 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.0001492/0.647, allocations: 169.7 kB / 1.22 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.647, allocations: 35.53 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/0.6471, allocations: 39.59 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6471, allocations: 4 kB / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.6471, allocations: 0 / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6471, allocations: 3.938 kB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/0.648, allocations: 0.6778 MB / 1.221 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.648, allocations: 4 kB / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.6482, allocations: 27.97 kB / 1.221 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.6482, allocations: 4 kB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.6482, allocations: 7.938 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6482, allocations: 0 / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6482, allocations: 0 / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.6489, allocations: 433.3 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.649, allocations: 128.6 kB / 1.221 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.6491, allocations: 11.92 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.6492, allocations: 8 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.6493, allocations: 15.97 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.6493, allocations: 8.062 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002682/0.6496, allocations: 303.1 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6496, allocations: 0 / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003088/0.6499, allocations: 59.84 kB / 1.222 GB, free: 15.43 MB / 0.9512 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.0008611/0.6508, allocations: 416.6 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.6512, allocations: 180 kB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6512, allocations: 0 / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.6514, allocations: 95.84 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.6519, allocations: 99.84 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009752/0.6529, allocations: 0.6437 MB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.6532, allocations: 0.8031 MB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.6533, allocations: 35.42 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of SimCode: time 7.565e-06/0.6533, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.006368/0.6597, allocations: 4.729 MB / 1.229 GB, free: 8.57 MB / 0.9512 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/jenkins1/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