Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008386/0.0008386, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008583/0.0008584, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5599, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002975/0.5629, allocations: 2.396 MB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.5649, allocations: 1.256 MB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.5651, allocations: 11.94 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.5655, allocations: 123.5 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.5658, allocations: 111.4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.5664, allocations: 230.4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.5668, allocations: 411.5 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.567, allocations: 132.3 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.5673, allocations: 135.3 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.5675, allocations: 147.2 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.5675, allocations: 8 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.5676, allocations: 43.98 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.5677, allocations: 55.69 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.5678, allocations: 85.45 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.5682, allocations: 401 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5682, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5682, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5682, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 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.0009435/0.5692, allocations: 0.6385 MB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5692, allocations: 16.52 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.5693, allocations: 43.44 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.5698, allocations: 389.7 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.5699, allocations: 24.5 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.5699, allocations: 24 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.5704, allocations: 271.6 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5705, allocations: 0 / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.5705, allocations: 12 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.5705, allocations: 11.98 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.5709, allocations: 186.2 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.5723, allocations: 0.8764 MB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.573, allocations: 229 kB / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.5732, allocations: 92.81 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.5732, allocations: 4 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.5736, allocations: 145.2 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 3.366e-06/0.5736, allocations: 3.984 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006915/0.5743, allocations: 298.7 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5743, allocations: 55.41 kB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.5748, allocations: 409.6 kB / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5748, allocations: 33.7 kB / 1.031 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.575, allocations: 208.1 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.575, allocations: 67.05 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.5751, allocations: 4 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5752, allocations: 354.8 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.5754, allocations: 72.42 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5756, allocations: 111.4 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.5758, allocations: 81.8 kB / 1.032 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.5758, allocations: 4 kB / 1.032 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004971/0.5763, allocations: 266.1 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5763, allocations: 12.03 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5764, allocations: 0 / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5764, allocations: 4 kB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.5766, allocations: 47.91 kB / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5766, allocations: 0 / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.5768, allocations: 23.84 kB / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.5768, allocations: 7.984 kB / 1.033 GB, free: 5.324 MB / 0.7794 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 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.577, allocations: 179.3 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.577, allocations: 35.53 kB / 1.033 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.5771, allocations: 43.58 kB / 1.033 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5771, allocations: 4 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5771, allocations: 0 / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5772, allocations: 0 / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009207/0.5781, allocations: 0.6856 MB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5781, allocations: 0 / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.5783, allocations: 35.91 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5783, allocations: 0 / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.5783, allocations: 12 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5783, allocations: 0 / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5783, allocations: 3.938 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.579, allocations: 424.1 kB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.5792, allocations: 144.6 kB / 1.034 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.5792, allocations: 0 / 1.034 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5794, allocations: 8 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.5795, allocations: 27.97 kB / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5795, allocations: 8 kB / 1.034 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002957/0.5798, allocations: 291.1 kB / 1.034 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.194e-06/0.5798, allocations: 0 / 1.034 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000337/0.5802, allocations: 63.78 kB / 1.035 GB, free: 3.285 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009407/0.5811, allocations: 413.4 kB / 1.035 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.5816, allocations: 189.1 kB / 1.035 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5816, allocations: 3.938 kB / 1.035 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.5818, allocations: 91.89 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.5823, allocations: 84.2 kB / 1.035 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.5834, allocations: 0.7146 MB / 1.036 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5838, allocations: 0.8031 MB / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.584, allocations: 42.95 kB / 1.037 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.5841, allocations: 27.44 kB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5841, allocations: 0 / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of Templates: time 0.007423/0.5915, allocations: 3.457 MB / 1.04 GB, free: 13.62 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches