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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.538/2.538, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6114, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004589/0.616, allocations: 2.838 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.6184, allocations: 1.348 MB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.6187, allocations: 11.94 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.6192, allocations: 143.2 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.6197, allocations: 139.2 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.6204, allocations: 303.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000549/0.6209, allocations: 475.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.6213, allocations: 200.5 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.6215, allocations: 191.2 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.6218, allocations: 195.1 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.6219, allocations: 36 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.622, allocations: 75.97 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.6222, allocations: 95.64 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6223, allocations: 190.8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.6229, allocations: 0.5101 MB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6229, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6229, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.6229, allocations: 0 / 1.024 GB, free: 11.79 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.001012/0.6239, allocations: 0.7087 MB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.624, allocations: 15.98 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.6241, allocations: 48.38 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.6246, allocations: 402.5 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6246, allocations: 20.88 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.6247, allocations: 28.12 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.6252, allocations: 279.7 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6252, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.6252, allocations: 12 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6252, allocations: 4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.6256, allocations: 190.1 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.6269, allocations: 0.8764 MB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.6277, allocations: 227 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6279, allocations: 88.81 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.6279, allocations: 4 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.6283, allocations: 141 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.6283, allocations: 0 / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.000706/0.629, allocations: 285.1 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.629, allocations: 55.39 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.6295, allocations: 417.6 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.6295, allocations: 25.7 kB / 1.028 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.6297, allocations: 220.1 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.6297, allocations: 63.09 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.6298, allocations: 49.92 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6299, allocations: 350.7 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.6301, allocations: 68.44 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.6304, allocations: 116.2 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.6307, allocations: 197.2 kB / 1.029 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6307, allocations: 0 / 1.029 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004901/0.6312, allocations: 257 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6313, allocations: 8 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6313, allocations: 0 / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6313, allocations: 7.938 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.6315, allocations: 52.06 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6315, allocations: 0 / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.6317, allocations: 27.69 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.6317, allocations: 15.98 kB / 1.029 GB, free: 6.34 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.0001581/0.6319, allocations: 161.7 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.6319, allocations: 39.61 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.358e-05/0.632, allocations: 39.59 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.632, allocations: 0 / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6321, allocations: 4 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6321, allocations: 7.922 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.633, allocations: 0.6791 MB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.633, allocations: 0 / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.6332, allocations: 35.91 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6332, allocations: 0 / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.6332, allocations: 7.938 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6332, allocations: 12 kB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.6332, allocations: 0 / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.6339, allocations: 413.4 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.634, allocations: 132.6 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.6341, allocations: 7.922 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.6343, allocations: 12.06 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.6343, allocations: 23.91 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.6344, allocations: 8 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002801/0.6347, allocations: 291.2 kB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6347, allocations: 0 / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003334/0.635, allocations: 67.83 kB / 1.031 GB, free: 4.324 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.0009991/0.636, allocations: 418.3 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.6365, allocations: 191.7 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6365, allocations: 0 / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.6368, allocations: 91.89 kB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.6373, allocations: 94.02 kB / 1.032 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6386, allocations: 0.6281 MB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.639, allocations: 0.7989 MB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.6392, allocations: 46.95 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.6393, allocations: 35.42 kB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6393, allocations: 0 / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of Templates: time 0.008466/0.6478, allocations: 3.767 MB / 1.037 GB, free: 14.43 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