Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.817/2.817, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0.875 kB / 0.8108 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.827e-05, allocations: 6.312 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005274/0.005303, allocations: 2.71 MB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.008503, allocations: 1.475 MB / 0.8149 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.008833, allocations: 17.28 kB / 0.8149 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.009395, allocations: 139.1 kB / 0.815 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005816/0.009977, allocations: 192.5 kB / 0.8152 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.0107, allocations: 287.2 kB / 0.8155 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.01143, allocations: 495.9 kB / 0.8159 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.01173, allocations: 119.7 kB / 0.8161 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.01228, allocations: 272.5 kB / 0.8163 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.01261, allocations: 159.5 kB / 0.8165 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.01271, allocations: 42.28 kB / 0.8165 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.01291, allocations: 87.91 kB / 0.8166 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.01305, allocations: 95.61 kB / 0.8167 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.01322, allocations: 111.6 kB / 0.8168 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008194/0.01404, allocations: 0.5567 MB / 0.8173 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01404, allocations: 0 / 0.8173 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01404, allocations: 0 / 0.8173 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.01405, allocations: 4.625 kB / 0.8173 GB, free: 10.28 MB / 0.7292 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.001395/0.01545, allocations: 0.6869 MB / 0.818 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.01548, allocations: 8.031 kB / 0.818 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.01576, allocations: 81.12 kB / 0.8181 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.0165, allocations: 369.5 kB / 0.8184 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.01653, allocations: 16.88 kB / 0.8185 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.01659, allocations: 24.38 kB / 0.8185 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.01724, allocations: 305.7 kB / 0.8188 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01725, allocations: 4.656 kB / 0.8188 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.01728, allocations: 8 kB / 0.8188 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01729, allocations: 8.562 kB / 0.8188 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.0178, allocations: 187.2 kB / 0.819 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.0195, allocations: 0.7308 MB / 0.8197 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.02033, allocations: 224 kB / 0.8199 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.02057, allocations: 80.83 kB / 0.82 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.0206, allocations: 7.984 kB / 0.82 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.02096, allocations: 144.4 kB / 0.8201 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.02096, allocations: 0 / 0.8201 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0008832/0.02185, allocations: 308.7 kB / 0.8204 GB, free: 7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.0219, allocations: 51.41 kB / 0.8205 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.02245, allocations: 414.2 kB / 0.8209 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.02249, allocations: 29.7 kB / 0.8209 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.02271, allocations: 225.1 kB / 0.8211 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/0.02279, allocations: 72.3 kB / 0.8212 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.02288, allocations: 45.94 kB / 0.8212 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.02309, allocations: 351.7 kB / 0.8216 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.02331, allocations: 72.38 kB / 0.8216 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.02356, allocations: 115.6 kB / 0.8217 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.02403, allocations: 193.6 kB / 0.8219 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.02404, allocations: 5.688 kB / 0.8219 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006882/0.02473, allocations: 270.1 kB / 0.8222 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.02475, allocations: 4 kB / 0.8222 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02475, allocations: 7.453 kB / 0.8222 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.02478, allocations: 4 kB / 0.8222 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.02502, allocations: 43.92 kB / 0.8222 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.02504, allocations: 3.984 kB / 0.8222 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.02521, allocations: 23.84 kB / 0.8223 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.02523, allocations: 12 kB / 0.8223 GB, free: 5.023 MB / 0.7292 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,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.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.0002404/0.02547, allocations: 174.9 kB / 0.8224 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.02556, allocations: 44.89 kB / 0.8225 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.02622, allocations: 263.8 kB / 0.8227 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02623, allocations: 0 / 0.8227 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.02623, allocations: 0.5 kB / 0.8227 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02624, allocations: 0 / 0.8227 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.02737, allocations: 0.5939 MB / 0.8233 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02738, allocations: 0 / 0.8233 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.02758, allocations: 31.92 kB / 0.8234 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.02758, allocations: 5.078 kB / 0.8234 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.0276, allocations: 4 kB / 0.8234 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.02761, allocations: 4 kB / 0.8234 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.02761, allocations: 1.094 kB / 0.8234 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000944/0.02855, allocations: 442.6 kB / 0.8238 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.02867, allocations: 57.78 kB / 0.8238 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.02872, allocations: 11.94 kB / 0.8239 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.02889, allocations: 7.984 kB / 0.8239 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.02897, allocations: 19.95 kB / 0.8239 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.029, allocations: 15.98 kB / 0.8239 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003873/0.02939, allocations: 294.4 kB / 0.8242 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02939, allocations: 0 / 0.8242 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003749/0.02976, allocations: 67.78 kB / 0.8242 GB, free: 2.965 MB / 0.7292 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,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.002047/0.03181, allocations: 445.5 kB / 0.8247 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.0324, allocations: 178.2 kB / 0.8248 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0324, allocations: 4 kB / 0.8248 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.03265, allocations: 83.89 kB / 0.8249 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.03333, allocations: 94.59 kB / 0.825 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.03488, allocations: 0.6453 MB / 0.8256 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.03513, allocations: 199.1 kB / 0.8258 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.03533, allocations: 54.92 kB / 0.8259 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.03544, allocations: 32.5 kB / 0.8259 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.03544, allocations: 0 / 0.8259 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of Templates: time 0.01078/0.04621, allocations: 4.003 MB / 0.8298 GB, free: 13.49 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.244359867996536]