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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001675/0.001675, allocations: 103 kB / 16.41 MB, free: 6.512 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.002071/0.002071, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.624/1.624, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.91, allocations: 151.6 MB / 1.167 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004927/0.915, allocations: 2.829 MB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.9178, allocations: 1.356 MB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004775/0.9183, allocations: 11.94 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.9189, allocations: 143.2 kB / 1.172 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.9195, allocations: 147.2 kB / 1.172 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.9203, allocations: 295.3 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.9211, allocations: 487.4 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.9215, allocations: 202.5 kB / 1.173 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.9218, allocations: 191.2 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.9222, allocations: 199.1 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.9223, allocations: 36 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.9225, allocations: 75.98 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.9226, allocations: 99.61 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.9228, allocations: 178.9 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.9235, allocations: 0.5389 MB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9235, allocations: 0 / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9235, allocations: 0 / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.9235, allocations: 0 / 1.174 GB, free: 13.3 MB / 0.9044 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.001336/0.9249, allocations: 0.7087 MB / 1.175 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9249, allocations: 16.88 kB / 1.175 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.925, allocations: 44.38 kB / 1.175 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.9257, allocations: 406.6 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.9258, allocations: 20.94 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.9258, allocations: 28.12 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.9264, allocations: 275.7 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9264, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.9265, allocations: 8 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9265, allocations: 12 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.9269, allocations: 178.2 kB / 1.176 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.9284, allocations: 0.8685 MB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.9292, allocations: 228.5 kB / 1.177 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.9294, allocations: 88.81 kB / 1.177 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.9294, allocations: 7.984 kB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.9297, allocations: 143.3 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 3.346e-06/0.9298, allocations: 3.984 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0007571/0.9305, allocations: 291.4 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.9306, allocations: 55.41 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.931, allocations: 413.7 kB / 1.178 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9311, allocations: 37.64 kB / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.9312, allocations: 212.1 kB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.9313, allocations: 67.08 kB / 1.178 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.9314, allocations: 49.94 kB / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9316, allocations: 350.7 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.9318, allocations: 68.42 kB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.932, allocations: 114 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.9324, allocations: 192 kB / 1.179 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9324, allocations: 0 / 1.179 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005395/0.9329, allocations: 257 kB / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.933, allocations: 6.656 kB / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.933, allocations: 0 / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.933, allocations: 4.156 kB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.9332, allocations: 51.91 kB / 1.179 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.9332, allocations: 7.938 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.9334, allocations: 23.77 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.9334, allocations: 12 kB / 1.179 GB, free: 7.863 MB / 0.9044 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.0002102/0.9337, allocations: 173.7 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.9337, allocations: 35.53 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.133e-05/0.9338, allocations: 39.59 kB / 1.179 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9338, allocations: 4 kB / 1.179 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9339, allocations: 4 kB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.9339, allocations: 7.922 kB / 1.179 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.9349, allocations: 0.67 MB / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9349, allocations: 0 / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.9351, allocations: 31.92 kB / 1.18 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9351, allocations: 0 / 1.18 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.9351, allocations: 19.92 kB / 1.18 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.9351, allocations: 0 / 1.18 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9351, allocations: 0 / 1.18 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.9359, allocations: 421.8 kB / 1.18 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.936, allocations: 132.6 kB / 1.18 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.9361, allocations: 11.88 kB / 1.18 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.9363, allocations: 16.05 kB / 1.18 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.9364, allocations: 15.98 kB / 1.18 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.9364, allocations: 7.984 kB / 1.18 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003213/0.9367, allocations: 291.2 kB / 1.181 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9367, allocations: 4 kB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003463/0.9371, allocations: 63.84 kB / 1.181 GB, free: 5.848 MB / 0.9044 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.001014/0.9381, allocations: 416 kB / 1.181 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.9386, allocations: 181.1 kB / 1.181 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9386, allocations: 0 / 1.181 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.9388, allocations: 83.89 kB / 1.181 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.9394, allocations: 104.2 kB / 1.182 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.9407, allocations: 0.6477 MB / 1.182 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.9411, allocations: 0.7951 MB / 1.183 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.9412, allocations: 35.42 kB / 1.183 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of SimCode: time 1.543e-06/0.9412, allocations: 3.938 kB / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of Templates: time 0.008403/0.9496, allocations: 4.724 MB / 1.188 GB, free: 14.99 MB / 0.92 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/jenkins1/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