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.0009224/0.0009224, allocations: 93.06 kB / 19.65 MB, free: 284 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.001021/0.001021, allocations: 169.3 kB / 23.03 MB, free: 1.551 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.8928/0.8928, allocations: 177.1 MB / 203.4 MB, free: 5.293 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.988/1.988, allocations: 429.5 MB / 0.6733 GB, free: 3.988 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 1.633e-06/1.633e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.493e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.005639/0.005654, allocations: 2.117 MB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.008587, allocations: 1.449 MB / 0.8817 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.008645, allocations: 4 kB / 0.8817 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.008699, allocations: 23.78 kB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.008779, allocations: 47.56 kB / 0.8817 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007981/0.009577, allocations: 340.4 kB / 0.8821 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.009764, allocations: 231 kB / 0.8823 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.009875, allocations: 38.69 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.00999, allocations: 115.8 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.01009, allocations: 77.3 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.01011, allocations: 20 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.01059, allocations: 351.5 kB / 0.8828 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.01062, allocations: 39.83 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.01068, allocations: 67.89 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.0111, allocations: 398.7 kB / 0.8833 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.0111, allocations: 0 / 0.8833 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.0111, allocations: 0 / 0.8833 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.0111, allocations: 0 / 0.8833 GB, free: 1.02 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.0005867/0.01169, allocations: 0.5309 MB / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.01172, allocations: 16.03 kB / 0.8839 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.01269, allocations: 208.6 kB / 0.8841 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.01277, allocations: 124.5 kB / 0.8842 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.01286, allocations: 79.94 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.01289, allocations: 16.38 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.01335, allocations: 294.9 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.01336, allocations: 4.188 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.01338, allocations: 12.31 kB / 0.8846 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.01339, allocations: 8.125 kB / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.0136, allocations: 145 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.01454, allocations: 0.7139 MB / 0.8854 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.01537, allocations: 310.8 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.01549, allocations: 83.66 kB / 0.8858 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.331e-05/0.01557, allocations: 16 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.01559, allocations: 37.38 kB / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.01559, allocations: 0 / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000824/0.01642, allocations: 361 kB / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.01644, allocations: 51.41 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.01652, allocations: 193.9 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01654, allocations: 25.7 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.0166, allocations: 171 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.01664, allocations: 51.53 kB / 0.8867 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.01671, allocations: 55.33 kB / 0.8867 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.01684, allocations: 496.1 kB / 0.8872 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.01696, allocations: 79.95 kB / 0.8873 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.01708, allocations: 79.95 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.01728, allocations: 134 kB / 0.8875 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01728, allocations: 0 / 0.8875 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004388/0.01772, allocations: 266.6 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01774, allocations: 4 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01774, allocations: 0 / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.01797, allocations: 86.48 kB / 0.8878 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.01863, allocations: 127.9 kB / 0.8879 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003468/0.01897, allocations: 0.8195 MB / 0.8887 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.01913, allocations: 39.81 kB / 0.8888 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.01915, allocations: 7.984 kB / 0.8888 GB, free: 11.16 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 9.013e-05/0.01924, allocations: 168.5 kB / 0.8889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.01929, allocations: 12.05 kB / 0.8889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.01978, allocations: 295.7 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01979, allocations: 3.938 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01979, allocations: 0 / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01979, allocations: 3.938 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.02096, allocations: 0.6708 MB / 0.8899 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.02096, allocations: 0 / 0.8899 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.0216, allocations: 127.9 kB / 0.89 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.02179, allocations: 75.61 kB / 0.8901 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.02181, allocations: 15.98 kB / 0.8901 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003239/0.02213, allocations: 0.8195 MB / 0.8909 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02213, allocations: 0 / 0.8909 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.02256, allocations: 354.7 kB / 0.8912 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.02257, allocations: 7.953 kB / 0.8912 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.0226, allocations: 15.98 kB / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.02276, allocations: 19.92 kB / 0.8913 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.02279, allocations: 11.92 kB / 0.8913 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.02281, allocations: 15.98 kB / 0.8913 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.02285, allocations: 137.3 kB / 0.8914 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02285, allocations: 0 / 0.8914 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002951/0.02315, allocations: 135.6 kB / 0.8916 GB, free: 8.168 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.000271/0.02342, allocations: 234.7 kB / 0.8918 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.02383, allocations: 194.9 kB / 0.892 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02383, allocations: 4 kB / 0.892 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.02405, allocations: 104.1 kB / 0.8921 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.02427, allocations: 51.94 kB / 0.8921 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.02501, allocations: 354 kB / 0.8925 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.02506, allocations: 68.39 kB / 0.8925 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.0252, allocations: 45.52 kB / 0.8926 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.0253, allocations: 28.47 kB / 0.8926 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.0253, allocations: 0 / 0.8926 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of Templates: time 0.00698/0.03228, allocations: 6.762 MB / 0.8992 GB, free: 400 kB / 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.029007984790951]