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.0009478/0.0009478, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009937/0.0009937, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9448/0.9448, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.861/1.861, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.044e-06/2.044e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.097e-05, allocations: 10.27 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003586/0.003617, allocations: 2.107 MB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.005727, allocations: 1.454 MB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.00579, allocations: 5.219 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.539e-05/0.005856, allocations: 19.8 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.005964, allocations: 56.64 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009919/0.006956, allocations: 341.5 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.007188, allocations: 231 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.007323, allocations: 41.58 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.007465, allocations: 119.8 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.0076, allocations: 67.84 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.007635, allocations: 24.52 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.008276, allocations: 344.6 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.00833, allocations: 43.89 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.00841, allocations: 65.45 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.008968, allocations: 406.7 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.008971, allocations: 0 / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008972, allocations: 0 / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.008977, allocations: 0.625 kB / 0.8167 GB, free: 12.44 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.0006939/0.009671, allocations: 0.5441 MB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.009712, allocations: 12.02 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.01009, allocations: 91.55 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.0102, allocations: 125.4 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.58e-05/0.01029, allocations: 75.95 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.01032, allocations: 17.59 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.01066, allocations: 211.6 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01067, allocations: 192 / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.0107, allocations: 9.344 kB / 0.8177 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01071, allocations: 8.125 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.01087, allocations: 78.84 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01192, allocations: 0.5985 MB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.01285, allocations: 222.3 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.01294, allocations: 47.67 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.0132, allocations: 65.38 kB / 0.8187 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.01324, allocations: 37.94 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.01324, allocations: 0.5625 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.001252/0.01449, allocations: 260.3 kB / 0.819 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.01452, allocations: 56.05 kB / 0.8191 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.01463, allocations: 186.5 kB / 0.8192 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.01465, allocations: 29.64 kB / 0.8193 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.01473, allocations: 172.1 kB / 0.8194 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.01477, allocations: 55.53 kB / 0.8195 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.01484, allocations: 39.36 kB / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01497, allocations: 0.5001 MB / 0.82 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.01507, allocations: 39.98 kB / 0.8201 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.01515, allocations: 50.38 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.01532, allocations: 102.2 kB / 0.8202 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01533, allocations: 0 / 0.8202 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004406/0.01577, allocations: 209.1 kB / 0.8204 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01578, allocations: 8.938 kB / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01579, allocations: 0 / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.01613, allocations: 81.45 kB / 0.8205 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.01686, allocations: 114.6 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/0.01736, allocations: 0.825 MB / 0.8214 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.01745, allocations: 19.83 kB / 0.8214 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01746, allocations: 11.44 kB / 0.8214 GB, free: 7.352 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.0001071/0.01757, allocations: 168.5 kB / 0.8216 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.01761, allocations: 15.91 kB / 0.8216 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.01809, allocations: 198.4 kB / 0.8218 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.0181, allocations: 8.594 kB / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.0181, allocations: 0 / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.0181, allocations: 4 kB / 0.8218 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.01911, allocations: 0.586 MB / 0.8224 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01911, allocations: 0 / 0.8224 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.01982, allocations: 99.95 kB / 0.8225 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.02008, allocations: 82.94 kB / 0.8226 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.0201, allocations: 11.98 kB / 0.8226 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004251/0.02053, allocations: 0.8156 MB / 0.8234 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02053, allocations: 0 / 0.8234 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.02097, allocations: 342.6 kB / 0.8237 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.02098, allocations: 7.953 kB / 0.8237 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.02101, allocations: 4 kB / 0.8237 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.02112, allocations: 15.92 kB / 0.8237 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.02116, allocations: 19.97 kB / 0.8237 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.02117, allocations: 4 kB / 0.8237 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.02123, allocations: 135.2 kB / 0.8239 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02123, allocations: 4 kB / 0.8239 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004372/0.02166, allocations: 135.5 kB / 0.824 GB, free: 4.582 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.0004153/0.02208, allocations: 238.8 kB / 0.8242 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.02252, allocations: 158.9 kB / 0.8244 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02253, allocations: 0 / 0.8244 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.02277, allocations: 98.78 kB / 0.8245 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.0231, allocations: 47.84 kB / 0.8245 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.02403, allocations: 339 kB / 0.8248 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.02408, allocations: 64.09 kB / 0.8249 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.856e-05/0.02416, allocations: 24.19 kB / 0.8249 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.0242, allocations: 16.5 kB / 0.8249 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.0242, allocations: 0 / 0.8249 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of Templates: time 0.00712/0.03132, allocations: 4.517 MB / 0.8294 GB, free: 15.11 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","",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.36735799908638]