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.00146/0.00146, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001643/0.001643, allocations: 169 kB / 24.27 MB, free: 284 kB / 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.9587/0.9587, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.866/1.866, allocations: 377.8 MB / 0.6239 GB, free: 8.578 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.844e-06/1.844e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.945e-05, allocations: 3.078 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003544/0.003573, allocations: 2.1 MB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.006071, allocations: 1.643 MB / 0.8152 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.006158, allocations: 0 / 0.8152 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.562e-05/0.006224, allocations: 23.78 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.006345, allocations: 52.58 kB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.007537, allocations: 368.5 kB / 0.8156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.007801, allocations: 231.7 kB / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.007947, allocations: 37.64 kB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.008108, allocations: 124.4 kB / 0.816 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.008264, allocations: 65.22 kB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.0083, allocations: 20 kB / 0.8161 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008172/0.009117, allocations: 416.4 kB / 0.8165 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.009168, allocations: 39.88 kB / 0.8165 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.009254, allocations: 71.83 kB / 0.8166 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.00991, allocations: 419.6 kB / 0.817 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.009916, allocations: 4 kB / 0.817 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.009917, allocations: 0.5 kB / 0.817 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.009923, allocations: 0.9062 kB / 0.817 GB, free: 12.51 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.000804/0.01073, allocations: 0.5394 MB / 0.8175 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.01077, allocations: 9.312 kB / 0.8175 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.01124, allocations: 104 kB / 0.8176 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.01138, allocations: 124.4 kB / 0.8177 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.01149, allocations: 79.95 kB / 0.8178 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.01152, allocations: 16.31 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.01191, allocations: 212.7 kB / 0.818 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01193, allocations: 4.188 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01195, allocations: 7.594 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01196, allocations: 12.06 kB / 0.818 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.01215, allocations: 80.53 kB / 0.8181 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.01348, allocations: 0.6024 MB / 0.8187 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.01459, allocations: 217.4 kB / 0.8189 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.01472, allocations: 48.77 kB / 0.819 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.01505, allocations: 63 kB / 0.819 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.01509, allocations: 41.38 kB / 0.8191 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 3.607e-06/0.01509, allocations: 0 / 0.8191 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.00118/0.01627, allocations: 256.4 kB / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.01631, allocations: 55.39 kB / 0.8194 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01646, allocations: 188.8 kB / 0.8195 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.0165, allocations: 29.7 kB / 0.8196 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.0166, allocations: 175 kB / 0.8197 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.01665, allocations: 52.41 kB / 0.8198 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.01674, allocations: 43.36 kB / 0.8198 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01691, allocations: 0.4923 MB / 0.8203 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.01702, allocations: 41.08 kB / 0.8203 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.01714, allocations: 54.38 kB / 0.8204 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.01736, allocations: 103.3 kB / 0.8205 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01736, allocations: 0 / 0.8205 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005777/0.01794, allocations: 211.4 kB / 0.8207 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.01797, allocations: 6.656 kB / 0.8207 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01798, allocations: 0 / 0.8207 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.01845, allocations: 86.42 kB / 0.8208 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.01931, allocations: 103.5 kB / 0.8209 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005663/0.01988, allocations: 0.8264 MB / 0.8217 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.02, allocations: 19.83 kB / 0.8217 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.02002, allocations: 4 kB / 0.8217 GB, free: 7.422 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.0001458/0.02017, allocations: 164.6 kB / 0.8219 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.02023, allocations: 23.91 kB / 0.8219 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/0.02082, allocations: 199.3 kB / 0.8221 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.02082, allocations: 3.938 kB / 0.8221 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.02083, allocations: 0 / 0.8221 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.02083, allocations: 0 / 0.8221 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.02205, allocations: 0.5976 MB / 0.8227 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02205, allocations: 0 / 0.8227 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.02288, allocations: 96.02 kB / 0.8228 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003313/0.02321, allocations: 79.12 kB / 0.8228 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.02323, allocations: 11.98 kB / 0.8228 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004898/0.02372, allocations: 0.8195 MB / 0.8236 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02372, allocations: 0 / 0.8236 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.02425, allocations: 342.8 kB / 0.824 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.02427, allocations: 11.94 kB / 0.824 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.0243, allocations: 4 kB / 0.824 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.02444, allocations: 19.92 kB / 0.824 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.02448, allocations: 7.984 kB / 0.824 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.0245, allocations: 7.984 kB / 0.824 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.692e-05/0.02457, allocations: 139.2 kB / 0.8242 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02457, allocations: 0 / 0.8242 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005399/0.02511, allocations: 135.5 kB / 0.8243 GB, free: 4.645 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.0004616/0.02557, allocations: 246.7 kB / 0.8245 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.0261, allocations: 158.9 kB / 0.8247 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.0261, allocations: 0 / 0.8247 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.02639, allocations: 96.05 kB / 0.8248 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.02677, allocations: 40.09 kB / 0.8248 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.02782, allocations: 336 kB / 0.8251 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.067e-05/0.02788, allocations: 68.09 kB / 0.8252 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.748e-05/0.02797, allocations: 13.14 kB / 0.8252 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.02802, allocations: 20.5 kB / 0.8252 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of SimCode: time 1.503e-06/0.02802, allocations: 0 / 0.8252 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of Templates: time 0.008783/0.03681, allocations: 4.514 MB / 0.8296 GB, free: 15.19 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.111632486106828]