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.001033/0.001033, allocations: 69.89 kB / 20.65 MB, free: 3.848 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.001502/0.001502, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.927/0.927, allocations: 177.2 MB / 204.5 MB, free: 5.516 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 1.987/1.987, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.674e-06/1.674e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.252e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003176/0.003198, allocations: 2.78 MB / 0.8821 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.004989, allocations: 1.486 MB / 0.8835 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.005192, allocations: 11.88 kB / 0.8835 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.005623, allocations: 155 kB / 0.8837 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.005997, allocations: 191.4 kB / 0.8839 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.006393, allocations: 283.2 kB / 0.8841 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.006778, allocations: 499.2 kB / 0.8846 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.006979, allocations: 127.7 kB / 0.8847 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.007273, allocations: 275.2 kB / 0.885 GB, free: 292 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.007446, allocations: 151.5 kB / 0.8852 GB, free: 140 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.007484, allocations: 40.59 kB / 0.8852 GB, free: 100 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00759, allocations: 75.92 kB / 0.8853 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.007688, allocations: 105.2 kB / 0.8854 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.007767, allocations: 103.7 kB / 0.8855 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.008116, allocations: 338.6 kB / 0.8858 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.008119, allocations: 0 / 0.8858 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00812, allocations: 0.5 kB / 0.8858 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.008126, allocations: 5.422 kB / 0.8858 GB, free: 15.48 MB / 0.8542 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.0007401/0.008866, allocations: 0.7766 MB / 0.8866 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.008898, allocations: 12.03 kB / 0.8866 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.009038, allocations: 76.61 kB / 0.8866 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.009389, allocations: 378.5 kB / 0.887 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.009412, allocations: 16.88 kB / 0.887 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.009444, allocations: 28.31 kB / 0.887 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.009712, allocations: 226.6 kB / 0.8873 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.009722, allocations: 7.875 kB / 0.8873 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.009741, allocations: 12 kB / 0.8873 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.009748, allocations: 4 kB / 0.8873 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.009851, allocations: 71.44 kB / 0.8873 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.01057, allocations: 0.6978 MB / 0.888 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.01086, allocations: 139.4 kB / 0.8882 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.01092, allocations: 47.59 kB / 0.8882 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.01093, allocations: 8 kB / 0.8882 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.01107, allocations: 110.5 kB / 0.8883 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.01107, allocations: 0 / 0.8883 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002766/0.01135, allocations: 183.4 kB / 0.8885 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01137, allocations: 51.41 kB / 0.8885 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.01161, allocations: 406.4 kB / 0.8889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01163, allocations: 29.7 kB / 0.889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01175, allocations: 275.3 kB / 0.8892 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.01179, allocations: 67.45 kB / 0.8893 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.01185, allocations: 59.53 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01198, allocations: 0.5234 MB / 0.8899 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.01202, allocations: 24.44 kB / 0.8899 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.01209, allocations: 88.66 kB / 0.89 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.01221, allocations: 127 kB / 0.8901 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01221, allocations: 4 kB / 0.8901 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002057/0.01242, allocations: 183.1 kB / 0.8903 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01243, allocations: 11.98 kB / 0.8903 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01244, allocations: 0 / 0.8903 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.01245, allocations: 4 kB / 0.8903 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01257, allocations: 39.92 kB / 0.8903 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01258, allocations: 7.938 kB / 0.8903 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.01265, allocations: 24.03 kB / 0.8903 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01266, allocations: 8 kB / 0.8904 GB, free: 10.55 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.0001078/0.01277, allocations: 171.6 kB / 0.8905 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.01281, allocations: 47.7 kB / 0.8906 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.01304, allocations: 177 kB / 0.8907 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01305, allocations: 8 kB / 0.8907 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.01305, allocations: 0 / 0.8907 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01305, allocations: 0 / 0.8907 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.0135, allocations: 0.5112 MB / 0.8912 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0135, allocations: 0 / 0.8912 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.0136, allocations: 31.92 kB / 0.8913 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.0136, allocations: 3.984 kB / 0.8913 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01361, allocations: 4 kB / 0.8913 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01361, allocations: 4 kB / 0.8913 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01362, allocations: 0 / 0.8913 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.01389, allocations: 353.6 kB / 0.8916 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.01395, allocations: 59.7 kB / 0.8917 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01397, allocations: 0 / 0.8917 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.01404, allocations: 8 kB / 0.8917 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.01408, allocations: 19.95 kB / 0.8917 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.0141, allocations: 8 kB / 0.8917 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001254/0.01423, allocations: 255 kB / 0.892 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01423, allocations: 0 / 0.892 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002118/0.01444, allocations: 71.83 kB / 0.892 GB, free: 8.777 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.0007668/0.0152, allocations: 392.3 kB / 0.8924 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.01536, allocations: 106.2 kB / 0.8925 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01536, allocations: 320 / 0.8925 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.01543, allocations: 63.58 kB / 0.8926 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01576, allocations: 101.8 kB / 0.8927 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.01659, allocations: 0.5821 MB / 0.8932 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01664, allocations: 96.86 kB / 0.8933 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.236e-05/0.01673, allocations: 42.94 kB / 0.8934 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.01688, allocations: 138.2 kB / 0.8935 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01688, allocations: 0 / 0.8935 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of Templates: time 0.006258/0.02314, allocations: 4.41 MB / 0.8978 GB, free: 3.035 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.097249307669699]