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.0008919/0.0008919, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009842/0.0009842, allocations: 161 kB / 23.82 MB, free: 0.75 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.9162/0.9162, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.759/1.759, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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.242e-06/1.242e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.867e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002222/0.002241, allocations: 2.104 MB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003803, allocations: 1.454 MB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.003854, allocations: 1.5 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.541e-05/0.00391, allocations: 27.78 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.003993, allocations: 52.02 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.00481, allocations: 341.1 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.00499, allocations: 231 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005104, allocations: 37.64 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.00521, allocations: 125.1 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005316, allocations: 67.84 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.00534, allocations: 20 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.005828, allocations: 360.8 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.005861, allocations: 35.89 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.005917, allocations: 68.8 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.00633, allocations: 398.8 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006332, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006333, allocations: 0.7812 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.006337, allocations: 4 kB / 0.8167 GB, free: 12.45 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.0005627/0.0069, allocations: 0.5366 MB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.006932, allocations: 8.031 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.007218, allocations: 101.2 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.808e-05/0.007306, allocations: 124.5 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.00738, allocations: 71.95 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.007404, allocations: 20.38 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.007666, allocations: 217.9 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007675, allocations: 192 / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.007692, allocations: 4.375 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.007702, allocations: 8.125 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.007818, allocations: 80.53 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/0.00877, allocations: 0.603 MB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.009458, allocations: 225.4 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.009531, allocations: 47.67 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.009721, allocations: 59.94 kB / 0.8187 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.009742, allocations: 33.39 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.009743, allocations: 4 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0006526/0.0104, allocations: 261.4 kB / 0.819 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.01042, allocations: 55.41 kB / 0.8191 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.01051, allocations: 189.2 kB / 0.8193 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.01053, allocations: 26.83 kB / 0.8193 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.01059, allocations: 175 kB / 0.8195 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.01062, allocations: 51.53 kB / 0.8195 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.01067, allocations: 48.39 kB / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.01077, allocations: 0.4884 MB / 0.82 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.01084, allocations: 43.98 kB / 0.8201 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.01091, allocations: 53.03 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.01104, allocations: 102.1 kB / 0.8202 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01104, allocations: 0.9688 kB / 0.8202 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003332/0.01138, allocations: 210.8 kB / 0.8204 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01139, allocations: 4 kB / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.01139, allocations: 1.594 kB / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.01164, allocations: 82.17 kB / 0.8205 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.01219, allocations: 108.2 kB / 0.8206 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000378/0.01257, allocations: 0.8234 MB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.01263, allocations: 20.42 kB / 0.8214 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01265, allocations: 12 kB / 0.8214 GB, free: 7.355 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 7.649e-05/0.01272, allocations: 160.6 kB / 0.8216 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.01275, allocations: 19.89 kB / 0.8216 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.0131, allocations: 198.9 kB / 0.8218 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01311, allocations: 7.938 kB / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01311, allocations: 4 kB / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01311, allocations: 0 / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.01384, allocations: 0.585 MB / 0.8224 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01384, allocations: 8 kB / 0.8224 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.01436, allocations: 87.97 kB / 0.8225 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.01455, allocations: 83.61 kB / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01456, allocations: 7.984 kB / 0.8226 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003206/0.01488, allocations: 0.8274 MB / 0.8234 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.01489, allocations: 4 kB / 0.8234 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.0152, allocations: 334.6 kB / 0.8237 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.01521, allocations: 7.953 kB / 0.8237 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.01524, allocations: 11.94 kB / 0.8237 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.01531, allocations: 15.92 kB / 0.8237 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.01534, allocations: 11.98 kB / 0.8237 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01536, allocations: 7.984 kB / 0.8237 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.0154, allocations: 141.9 kB / 0.8239 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0154, allocations: 0 / 0.8239 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002671/0.01567, allocations: 131.5 kB / 0.824 GB, free: 4.586 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.0002874/0.01595, allocations: 245.4 kB / 0.8242 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.01629, allocations: 160.8 kB / 0.8244 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01629, allocations: 0 / 0.8244 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.01648, allocations: 96.05 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.0002177/0.01669, allocations: 43.91 kB / 0.8245 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.01737, allocations: 335 kB / 0.8248 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.809e-05/0.0174, allocations: 72.03 kB / 0.8249 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.01746, allocations: 20.89 kB / 0.8249 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.0175, allocations: 16.5 kB / 0.825 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.0175, allocations: 0 / 0.825 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of Templates: time 0.006125/0.02362, allocations: 5.009 MB / 0.8298 GB, free: 14.62 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: 4.800466390326619]