Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.898/0.898, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.045/2.045, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.228e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003209/0.003231, allocations: 2.829 MB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005022, allocations: 1.491 MB / 0.8824 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.005214, allocations: 17.22 kB / 0.8824 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.005628, allocations: 147 kB / 0.8825 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.005954, allocations: 193.1 kB / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.006307, allocations: 279.2 kB / 0.883 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.006665, allocations: 0.4914 MB / 0.8835 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.006866, allocations: 116.8 kB / 0.8836 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.007148, allocations: 275.3 kB / 0.8838 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.007322, allocations: 155.5 kB / 0.884 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.007364, allocations: 42.88 kB / 0.884 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.00748, allocations: 87.91 kB / 0.8841 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.007577, allocations: 95.61 kB / 0.8842 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.007751, allocations: 115.6 kB / 0.8843 GB, free: 372 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.008118, allocations: 342.6 kB / 0.8846 GB, free: 28 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00812, allocations: 0 / 0.8846 GB, free: 28 kB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.008121, allocations: 0 / 0.8846 GB, free: 28 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.008126, allocations: 0 / 0.8846 GB, free: 28 kB / 0.8386 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.0007874/0.008914, allocations: 0.7851 MB / 0.8854 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.008948, allocations: 8.031 kB / 0.8854 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.009101, allocations: 80.61 kB / 0.8855 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.009481, allocations: 382.5 kB / 0.8859 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.009508, allocations: 16.88 kB / 0.8859 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.009541, allocations: 28.31 kB / 0.8859 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.009841, allocations: 242.7 kB / 0.8861 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.00985, allocations: 7.938 kB / 0.8861 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.009871, allocations: 15.98 kB / 0.8861 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.00988, allocations: 4 kB / 0.8862 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.01004, allocations: 90.92 kB / 0.8862 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.01086, allocations: 0.7441 MB / 0.887 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.01122, allocations: 159.5 kB / 0.8871 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.0113, allocations: 47.66 kB / 0.8872 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.01132, allocations: 4 kB / 0.8872 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.01146, allocations: 108.9 kB / 0.8873 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.01146, allocations: 0 / 0.8873 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003418/0.01181, allocations: 206.8 kB / 0.8875 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.01184, allocations: 59.34 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.01211, allocations: 410.6 kB / 0.8879 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01213, allocations: 33.7 kB / 0.8879 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01225, allocations: 271.4 kB / 0.8882 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.01229, allocations: 67.45 kB / 0.8883 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.01236, allocations: 59.55 kB / 0.8883 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01248, allocations: 0.5157 MB / 0.8888 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.01254, allocations: 32.45 kB / 0.8889 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.01263, allocations: 97.12 kB / 0.889 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.01278, allocations: 140.2 kB / 0.8891 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01278, allocations: 0 / 0.8891 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002323/0.01301, allocations: 194.4 kB / 0.8893 GB, free: 11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01303, allocations: 10.5 kB / 0.8893 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01303, allocations: 0 / 0.8893 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01305, allocations: 4 kB / 0.8893 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01317, allocations: 52.06 kB / 0.8893 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01317, allocations: 4 kB / 0.8893 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.01324, allocations: 11.89 kB / 0.8894 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.01326, allocations: 15.98 kB / 0.8894 GB, free: 10.91 MB / 0.8542 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,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.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.0001033/0.01336, allocations: 179.5 kB / 0.8895 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.0134, allocations: 39.77 kB / 0.8896 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.01365, allocations: 190.1 kB / 0.8898 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01365, allocations: 7.984 kB / 0.8898 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01365, allocations: 4 kB / 0.8898 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01366, allocations: 0 / 0.8898 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.01415, allocations: 0.5734 MB / 0.8903 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01415, allocations: 0 / 0.8903 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.01425, allocations: 31.97 kB / 0.8904 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01425, allocations: 0 / 0.8904 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.01427, allocations: 8 kB / 0.8904 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01427, allocations: 3.938 kB / 0.8904 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01427, allocations: 0 / 0.8904 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.01459, allocations: 378 kB / 0.8907 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.01465, allocations: 51.73 kB / 0.8908 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.01468, allocations: 4 kB / 0.8908 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.01475, allocations: 11.98 kB / 0.8908 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.0148, allocations: 19.97 kB / 0.8908 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01482, allocations: 8 kB / 0.8908 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001659/0.01499, allocations: 275.1 kB / 0.8911 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01499, allocations: 4 kB / 0.8911 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002743/0.01526, allocations: 67.78 kB / 0.8912 GB, free: 9.008 MB / 0.8542 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,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.0008065/0.01607, allocations: 392.3 kB / 0.8915 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01628, allocations: 119.5 kB / 0.8916 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01628, allocations: 4 kB / 0.8916 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.01637, allocations: 65.47 kB / 0.8917 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.01671, allocations: 104.9 kB / 0.8918 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.01764, allocations: 0.5727 MB / 0.8924 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.0177, allocations: 104.8 kB / 0.8925 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.289e-05/0.01779, allocations: 42.95 kB / 0.8925 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.01785, allocations: 32.48 kB / 0.8925 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01785, allocations: 0 / 0.8925 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of Templates: time 0.005859/0.02371, allocations: 4.008 MB / 0.8965 GB, free: 3.754 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.145245542982593]