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.0009648/0.0009648, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009424/0.0009424, allocations: 169 kB / 23.03 MB, free: 1.539 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.8859/0.8859, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.943/1.943, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.997e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003318/0.003348, allocations: 2.834 MB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.005169, allocations: 1.49 MB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.005368, allocations: 17.53 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.005802, allocations: 159 kB / 0.8825 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.006148, allocations: 190.5 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.006534, allocations: 279.2 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.006894, allocations: 0.4914 MB / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.007094, allocations: 123.1 kB / 0.8836 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.007385, allocations: 275.2 kB / 0.8839 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.007555, allocations: 148.5 kB / 0.884 GB, free: 340 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.007593, allocations: 36 kB / 0.884 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.007699, allocations: 83.92 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.007778, allocations: 96.62 kB / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.17e-05/0.00786, allocations: 115.6 kB / 0.8843 GB, free: 8 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.008236, allocations: 338.6 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.00824, allocations: 1.125 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.263e-06/0.008242, allocations: 0 / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.008249, allocations: 3.984 kB / 0.8846 GB, free: 15.67 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.0008471/0.009096, allocations: 0.7735 MB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.009131, allocations: 8.031 kB / 0.8854 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.009295, allocations: 76.23 kB / 0.8855 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.009667, allocations: 378.5 kB / 0.8858 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.009695, allocations: 24.86 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.009728, allocations: 28.31 kB / 0.8859 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.01003, allocations: 242.7 kB / 0.8861 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.01004, allocations: 4.625 kB / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.01006, allocations: 12 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.01007, allocations: 4.594 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.01022, allocations: 87.48 kB / 0.8862 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.01102, allocations: 0.7491 MB / 0.887 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.01136, allocations: 157 kB / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.01143, allocations: 44.45 kB / 0.8871 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.01146, allocations: 8.922 kB / 0.8872 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.01161, allocations: 111.3 kB / 0.8873 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.01161, allocations: 4 kB / 0.8873 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003191/0.01193, allocations: 201.3 kB / 0.8875 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.01196, allocations: 59.39 kB / 0.8875 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.01222, allocations: 410.6 kB / 0.8879 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.01224, allocations: 25.7 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01236, allocations: 275.3 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.0124, allocations: 63.48 kB / 0.8883 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.01246, allocations: 63.53 kB / 0.8883 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01258, allocations: 0.5157 MB / 0.8888 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.01263, allocations: 32.45 kB / 0.8888 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.01272, allocations: 92.2 kB / 0.8889 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.01286, allocations: 144.2 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.01286, allocations: 4 kB / 0.8891 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002203/0.01308, allocations: 197.2 kB / 0.8893 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.0131, allocations: 4 kB / 0.8893 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01311, allocations: 4 kB / 0.8893 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01312, allocations: 0 / 0.8893 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01324, allocations: 47.91 kB / 0.8893 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01325, allocations: 4 kB / 0.8893 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.01331, allocations: 15.89 kB / 0.8893 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01332, allocations: 12 kB / 0.8893 GB, free: 10.59 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 9.75e-05/0.01342, allocations: 182.2 kB / 0.8895 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01346, allocations: 43.77 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.0137, allocations: 191 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0137, allocations: 0 / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.01371, allocations: 3.938 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01371, allocations: 3.984 kB / 0.8898 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.0142, allocations: 0.5794 MB / 0.8903 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0142, allocations: 0 / 0.8903 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/0.0143, allocations: 31.98 kB / 0.8903 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.0143, allocations: 0 / 0.8903 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01432, allocations: 11.98 kB / 0.8904 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01432, allocations: 0 / 0.8904 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01432, allocations: 3.938 kB / 0.8904 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.01463, allocations: 367 kB / 0.8907 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.0147, allocations: 59.67 kB / 0.8908 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.01472, allocations: 0 / 0.8908 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.01479, allocations: 8 kB / 0.8908 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.01484, allocations: 20 kB / 0.8908 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.01486, allocations: 15.98 kB / 0.8908 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000155/0.01501, allocations: 271.1 kB / 0.8911 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/0.01502, allocations: 0 / 0.8911 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002142/0.01523, allocations: 67.83 kB / 0.8911 GB, free: 8.68 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.0008124/0.01604, allocations: 391.1 kB / 0.8915 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.01624, allocations: 117.4 kB / 0.8916 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01625, allocations: 0 / 0.8916 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.01633, allocations: 69.28 kB / 0.8917 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.01667, allocations: 110 kB / 0.8918 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.0177, allocations: 0.5783 MB / 0.8924 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.01776, allocations: 96.86 kB / 0.8924 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.01785, allocations: 42.95 kB / 0.8925 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.01791, allocations: 36.5 kB / 0.8925 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01791, allocations: 0 / 0.8925 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.006331/0.02425, allocations: 4.238 MB / 0.8967 GB, free: 3.191 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.181287480052561]