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.009402/0.009402, allocations: 101 kB / 15.88 MB, free: 5.863 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.002175/0.002175, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.602/2.602, allocations: 437 MB / 0.7106 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8066, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00461/0.8113, allocations: 2.889 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.8134, allocations: 1.325 MB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.8137, allocations: 11.94 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.8142, allocations: 127.5 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.8145, allocations: 123.4 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.815, allocations: 271 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.8155, allocations: 439.5 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.8158, allocations: 192.5 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.8161, allocations: 171.1 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.8163, allocations: 171.2 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.8163, allocations: 19.94 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.8165, allocations: 51.97 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.8166, allocations: 75.62 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.8167, allocations: 170.9 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.8171, allocations: 415.1 kB / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8171, allocations: 0 / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.21e-07/0.8171, allocations: 0 / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8172, allocations: 0 / 1.024 GB, free: 12.32 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.001101/0.8183, allocations: 0.6932 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8183, allocations: 19.98 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.8184, allocations: 44.38 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.8189, allocations: 402.6 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.819, allocations: 20.94 kB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.819, allocations: 24.12 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.8195, allocations: 275.6 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.8196, allocations: 0 / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.8196, allocations: 16 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8196, allocations: 4 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.8201, allocations: 182.2 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.8214, allocations: 0.8802 MB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.8221, allocations: 231 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.8223, allocations: 88.83 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.8224, allocations: 3.984 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.8228, allocations: 143.2 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.8228, allocations: 4 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007064/0.8235, allocations: 282.8 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.8235, allocations: 59.34 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.824, allocations: 413.6 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.824, allocations: 33.7 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.8242, allocations: 216 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.8242, allocations: 59.2 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.8243, allocations: 49.94 kB / 1.028 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8245, allocations: 350.7 kB / 1.028 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.8246, allocations: 68.42 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.8248, allocations: 115.2 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.8252, allocations: 188.4 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8252, allocations: 3.938 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004884/0.8257, allocations: 257 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8257, allocations: 4 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.8258, allocations: 4 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.8258, allocations: 0 / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.826, allocations: 48.12 kB / 1.029 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.826, allocations: 11.92 kB / 1.029 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.8262, allocations: 31.69 kB / 1.029 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.8262, allocations: 4 kB / 1.029 GB, free: 6.898 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.0001711/0.8264, allocations: 172.3 kB / 1.029 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.8264, allocations: 39.47 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.8265, allocations: 43.58 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8265, allocations: 7.938 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8266, allocations: 4 kB / 1.029 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8266, allocations: 3.938 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.8275, allocations: 0.6753 MB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8275, allocations: 4 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.8277, allocations: 31.91 kB / 1.03 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8277, allocations: 0 / 1.03 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.8277, allocations: 7.938 kB / 1.03 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8277, allocations: 4 kB / 1.03 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8277, allocations: 0 / 1.03 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.8284, allocations: 424.8 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8286, allocations: 128.7 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.8286, allocations: 7.938 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.8288, allocations: 12.05 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.8289, allocations: 15.98 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.8289, allocations: 11.98 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002952/0.8292, allocations: 299.1 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8292, allocations: 0 / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003216/0.8295, allocations: 59.83 kB / 1.03 GB, free: 4.871 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.00101/0.8305, allocations: 411 kB / 1.031 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.831, allocations: 186 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.831, allocations: 0 / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.8312, allocations: 91.89 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.8318, allocations: 85.69 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.8329, allocations: 0.7744 MB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8333, allocations: 0.8031 MB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.8334, allocations: 35.42 kB / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8334, allocations: 0 / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of Templates: time 0.006776/0.8402, allocations: 4.686 MB / 1.037 GB, free: 13.94 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/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