Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002046/0.002046, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.00221/0.00221, allocations: 157.7 kB / 23.55 MB, free: 0.8789 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 1.762/1.762, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.268/3.268, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.604e-05/4.766e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004246/0.004294, allocations: 2.072 MB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003586/0.007879, allocations: 1.646 MB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.007953, allocations: 0 / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.008034, allocations: 19.8 kB / 0.8145 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.008187, allocations: 53.23 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.009428, allocations: 372.2 kB / 0.8149 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.009744, allocations: 227 kB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.009906, allocations: 37.97 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.01013, allocations: 131.8 kB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.01031, allocations: 63.8 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.01035, allocations: 20 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009282/0.01128, allocations: 410 kB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.01134, allocations: 39.83 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.01145, allocations: 71.88 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008649/0.01232, allocations: 490.5 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.01232, allocations: 0 / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01232, allocations: 4.719 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.01233, allocations: 0 / 0.8163 GB, free: 12.53 MB / 0.7761 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.001122/0.01345, allocations: 0.5598 MB / 0.8168 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.0135, allocations: 8.031 kB / 0.8168 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.01411, allocations: 95.8 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.01427, allocations: 124.4 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.01441, allocations: 76.8 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.01445, allocations: 12.38 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.01496, allocations: 241 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01497, allocations: 192 / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.015, allocations: 8.375 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.015, allocations: 4.125 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.01532, allocations: 131.9 kB / 0.8175 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.01694, allocations: 0.6677 MB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.01865, allocations: 261 kB / 0.8184 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.01885, allocations: 72.45 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.01926, allocations: 65.86 kB / 0.8185 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.01931, allocations: 41.39 kB / 0.8186 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.01931, allocations: 0 / 0.8186 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.001568/0.02088, allocations: 361.1 kB / 0.8189 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.02093, allocations: 51.41 kB / 0.819 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.02113, allocations: 197.9 kB / 0.8192 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.02116, allocations: 29.7 kB / 0.8192 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.02132, allocations: 175 kB / 0.8194 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.02138, allocations: 47.59 kB / 0.8194 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.02148, allocations: 47.36 kB / 0.8194 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000336/0.02181, allocations: 0.4962 MB / 0.8199 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.02202, allocations: 75.97 kB / 0.82 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.02222, allocations: 79.64 kB / 0.8201 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.02261, allocations: 160.2 kB / 0.8202 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.02262, allocations: 7.984 kB / 0.8202 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001173/0.02379, allocations: 280 kB / 0.8205 GB, free: 8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.02381, allocations: 5.031 kB / 0.8205 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.02382, allocations: 3.984 kB / 0.8205 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005662/0.02439, allocations: 121 kB / 0.8206 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.0257, allocations: 99.52 kB / 0.8207 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.02675, allocations: 0.8781 MB / 0.8216 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.02691, allocations: 15.88 kB / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.02694, allocations: 15.94 kB / 0.8216 GB, free: 6.84 MB / 0.7761 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.0001977/0.02713, allocations: 172.5 kB / 0.8218 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.0272, allocations: 15.91 kB / 0.8218 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008556/0.02805, allocations: 273.8 kB / 0.8221 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.02806, allocations: 3.938 kB / 0.8221 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.02806, allocations: 4 kB / 0.8221 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02807, allocations: 0 / 0.8221 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.02988, allocations: 0.6875 MB / 0.8227 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02988, allocations: 0 / 0.8227 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.03115, allocations: 104 kB / 0.8228 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.0316, allocations: 111.6 kB / 0.8229 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.03163, allocations: 4 kB / 0.8229 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009958/0.03262, allocations: 0.8703 MB / 0.8238 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.03263, allocations: 3.938 kB / 0.8238 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.03352, allocations: 406.7 kB / 0.8242 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.03356, allocations: 15.89 kB / 0.8242 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.03359, allocations: 0 / 0.8242 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.03377, allocations: 15.92 kB / 0.8242 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.03382, allocations: 15.92 kB / 0.8242 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.03384, allocations: 11.98 kB / 0.8242 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000117/0.03396, allocations: 146.3 kB / 0.8244 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03396, allocations: 0 / 0.8244 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005535/0.03451, allocations: 131.5 kB / 0.8245 GB, free: 3.738 MB / 0.7761 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.0005722/0.03509, allocations: 242.7 kB / 0.8247 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008768/0.03596, allocations: 223.5 kB / 0.8249 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.03597, allocations: 0 / 0.8249 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.03649, allocations: 124.2 kB / 0.8251 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.03688, allocations: 45.83 kB / 0.8251 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.03788, allocations: 338.8 kB / 0.8254 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.03801, allocations: 103.1 kB / 0.8255 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.478e-05/0.03811, allocations: 16.58 kB / 0.8255 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.03817, allocations: 16.5 kB / 0.8256 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of SimCode: time 9.21e-07/0.03817, allocations: 0 / 0.8256 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of Templates: time 0.01165/0.04982, allocations: 4.521 MB / 0.83 GB, free: 14.15 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.515218119020574]