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.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001848/0.001849, allocations: 195 kB / 16.14 MB, free: 6.719 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.578/2.578, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5684, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004271/0.5727, allocations: 2.879 MB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.575, allocations: 1.317 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.5753, allocations: 15.94 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.5758, allocations: 127.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.5762, allocations: 123.4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.5769, allocations: 263.5 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000681/0.5776, allocations: 443.4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.578, allocations: 200.5 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.5784, allocations: 159.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.5787, allocations: 183.1 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.5788, allocations: 16 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.579, allocations: 55.92 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.5791, allocations: 75.56 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.5793, allocations: 159 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.58, allocations: 0.4944 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.58, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.58, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.5801, allocations: 0 / 1.023 GB, free: 12.3 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.001447/0.5815, allocations: 0.7023 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5816, allocations: 11.98 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.5817, allocations: 48.38 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.5823, allocations: 406.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.5823, allocations: 16.94 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.5824, allocations: 28.12 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.5829, allocations: 271.7 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.583, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.583, allocations: 8 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.583, allocations: 8 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.5835, allocations: 190.1 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.5848, allocations: 0.8803 MB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.5856, allocations: 219 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.5858, allocations: 99.31 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.5858, allocations: 4 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.5862, allocations: 139.2 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.5862, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007188/0.5869, allocations: 283.1 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.587, allocations: 63.39 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.5874, allocations: 409.6 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.5875, allocations: 29.7 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5876, allocations: 224 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.5877, allocations: 59.14 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.5878, allocations: 49.92 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5879, allocations: 354.7 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.5881, allocations: 64.44 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.5883, allocations: 119.2 kB / 1.027 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.5887, allocations: 183.9 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5887, allocations: 0 / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005234/0.5892, allocations: 261.1 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5893, allocations: 12.03 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5893, allocations: 0 / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5893, allocations: 7.938 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.5895, allocations: 47.91 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5895, allocations: 0 / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.5897, allocations: 27.69 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.5897, allocations: 11.98 kB / 1.028 GB, free: 6.875 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 ($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.0001849/0.5899, allocations: 172.3 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.59, allocations: 47.5 kB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.263e-05/0.5901, allocations: 39.59 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5901, allocations: 0 / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5901, allocations: 0 / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.5901, allocations: 3.938 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.5911, allocations: 0.6791 MB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5911, allocations: 4 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5913, allocations: 31.97 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5913, allocations: 0 / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.5913, allocations: 7.938 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5913, allocations: 4 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5913, allocations: 0 / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.5921, allocations: 420.8 kB / 1.029 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5922, allocations: 128.7 kB / 1.029 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.5923, allocations: 19.92 kB / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5924, allocations: 8 kB / 1.029 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.5925, allocations: 11.97 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.5925, allocations: 12 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002957/0.5928, allocations: 295.1 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.533e-06/0.5928, allocations: 0 / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003325/0.5932, allocations: 63.78 kB / 1.03 GB, free: 4.852 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 (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.0009345/0.5941, allocations: 415.8 kB / 1.03 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.5946, allocations: 178.1 kB / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5946, allocations: 0 / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.5949, allocations: 92.2 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.5955, allocations: 89.44 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5966, allocations: 0.7518 MB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.597, allocations: 0.7953 MB / 1.032 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.5972, allocations: 46.94 kB / 1.032 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.5972, allocations: 31.42 kB / 1.032 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5973, allocations: 0 / 1.032 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.007787/0.605, allocations: 3.579 MB / 1.036 GB, free: 15.03 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