Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.00103/0.00103, allocations: 93.06 kB / 19.65 MB, free: 280 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.00106/0.00106, allocations: 165 kB / 23.01 MB, free: 1.555 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.9595/0.9595, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.071/2.071, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.535e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004822/0.004857, allocations: 2.118 MB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.007596, allocations: 1.45 MB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.007703, allocations: 4 kB / 0.8817 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.998e-05/0.007783, allocations: 18.38 kB / 0.8817 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.007927, allocations: 55.48 kB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.009211, allocations: 343.3 kB / 0.8821 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.009529, allocations: 228.6 kB / 0.8823 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.009774, allocations: 33.67 kB / 0.8823 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.009981, allocations: 123.8 kB / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.01011, allocations: 67.86 kB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.01014, allocations: 17.34 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.01082, allocations: 351.4 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.01086, allocations: 39.89 kB / 0.8829 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.01093, allocations: 75.81 kB / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.01144, allocations: 394.8 kB / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.01145, allocations: 0 / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/0.01145, allocations: 0 / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.01146, allocations: 0 / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006879/0.01215, allocations: 0.5347 MB / 0.8838 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.01219, allocations: 12.03 kB / 0.8839 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.01326, allocations: 216.6 kB / 0.8841 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.01337, allocations: 120.5 kB / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/0.01347, allocations: 75.95 kB / 0.8843 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.0135, allocations: 16.38 kB / 0.8843 GB, free: 24 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.01399, allocations: 298.9 kB / 0.8846 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.014, allocations: 192 / 0.8846 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.01402, allocations: 8.375 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01403, allocations: 8.125 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.01425, allocations: 145.1 kB / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01527, allocations: 0.7138 MB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.01614, allocations: 306.9 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.01627, allocations: 91.53 kB / 0.8858 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.688e-05/0.01635, allocations: 19.98 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.01637, allocations: 33.39 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.01638, allocations: 4 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0008827/0.01726, allocations: 359 kB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.01729, allocations: 55.41 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.01739, allocations: 185.9 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.01742, allocations: 33.7 kB / 0.8864 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.01749, allocations: 171 kB / 0.8866 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.01753, allocations: 55.52 kB / 0.8867 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.01761, allocations: 51.34 kB / 0.8867 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01773, allocations: 0.4923 MB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01786, allocations: 75.97 kB / 0.8873 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.01798, allocations: 78.36 kB / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.01819, allocations: 133.5 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01819, allocations: 0 / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004762/0.01867, allocations: 265 kB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01868, allocations: 4 kB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.01869, allocations: 4 kB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.01899, allocations: 86.73 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.01968, allocations: 127.9 kB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/0.02009, allocations: 0.8234 MB / 0.8887 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.02025, allocations: 35.81 kB / 0.8888 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.02027, allocations: 11.98 kB / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.02038, allocations: 164.5 kB / 0.8889 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.02043, allocations: 11.95 kB / 0.8889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.02095, allocations: 288 kB / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02096, allocations: 3.938 kB / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.02096, allocations: 0 / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.02096, allocations: 0 / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.02218, allocations: 0.6793 MB / 0.8899 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02219, allocations: 0 / 0.8899 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.02283, allocations: 120 kB / 0.89 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.02303, allocations: 82.89 kB / 0.8901 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.02305, allocations: 7.984 kB / 0.8901 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003468/0.0234, allocations: 0.8273 MB / 0.8909 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.0234, allocations: 3.984 kB / 0.8909 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.02385, allocations: 350.7 kB / 0.8912 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.02386, allocations: 11.94 kB / 0.8912 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.02389, allocations: 8 kB / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.02407, allocations: 23.92 kB / 0.8913 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.0241, allocations: 15.97 kB / 0.8913 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.02411, allocations: 11.98 kB / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.02416, allocations: 135.2 kB / 0.8914 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02416, allocations: 0 / 0.8914 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003233/0.02448, allocations: 131.6 kB / 0.8916 GB, free: 8.219 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003345/0.02482, allocations: 234.7 kB / 0.8918 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.0253, allocations: 208.7 kB / 0.892 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0253, allocations: 0 / 0.892 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.02553, allocations: 102.5 kB / 0.8921 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.0258, allocations: 53.58 kB / 0.8921 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.02675, allocations: 350.6 kB / 0.8925 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.0268, allocations: 68.38 kB / 0.8925 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.02695, allocations: 47.66 kB / 0.8926 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.02707, allocations: 24.47 kB / 0.8926 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of SimCode: time 1.001e-06/0.02707, allocations: 0 / 0.8926 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of Templates: time 0.007685/0.03476, allocations: 6.173 MB / 0.8986 GB, free: 1.02 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.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.676112732850015]