Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001253/0.001253, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001151/0.001151, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.893/0.893, allocations: 177.1 MB / 203.7 MB, free: 5.508 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 2.264/2.264, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 4 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.465e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002196/0.00221, allocations: 2.105 MB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.003601, allocations: 1.433 MB / 0.8932 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.003646, allocations: 4 kB / 0.8932 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.003688, allocations: 15.8 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.003763, allocations: 59.48 kB / 0.8933 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.004385, allocations: 338.7 kB / 0.8936 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.004535, allocations: 223 kB / 0.8938 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004638, allocations: 49.62 kB / 0.8939 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.004743, allocations: 123.8 kB / 0.894 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.004833, allocations: 71.78 kB / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.004855, allocations: 20 kB / 0.8941 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.005273, allocations: 343.5 kB / 0.8944 GB, free: 5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.005305, allocations: 51.81 kB / 0.8944 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.00535, allocations: 59.89 kB / 0.8945 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.005722, allocations: 394.8 kB / 0.8949 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005725, allocations: 0 / 0.8949 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005726, allocations: 0 / 0.8949 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.005731, allocations: 0 / 0.8949 GB, free: 4.504 MB / 0.8542 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.0005029/0.006234, allocations: 0.5425 MB / 0.8954 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.006265, allocations: 12.56 kB / 0.8954 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/0.007143, allocations: 212.6 kB / 0.8956 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.007216, allocations: 128.5 kB / 0.8957 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.00727, allocations: 67.97 kB / 0.8958 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.007299, allocations: 20.36 kB / 0.8958 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.007662, allocations: 283.4 kB / 0.8961 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.007668, allocations: 192 / 0.8961 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.007688, allocations: 8.375 kB / 0.8961 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007694, allocations: 4.125 kB / 0.8961 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.007846, allocations: 116.4 kB / 0.8962 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.008631, allocations: 0.6909 MB / 0.8969 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.009316, allocations: 274.9 kB / 0.8972 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.009404, allocations: 79.62 kB / 0.8972 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.009462, allocations: 15.5 kB / 0.8972 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.009481, allocations: 41.39 kB / 0.8973 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.009483, allocations: 0 / 0.8973 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0006876/0.01017, allocations: 324 kB / 0.8976 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.01019, allocations: 51.41 kB / 0.8976 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.01026, allocations: 191.3 kB / 0.8978 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.01029, allocations: 29.7 kB / 0.8979 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.01035, allocations: 167 kB / 0.898 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.01038, allocations: 55.52 kB / 0.8981 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.01045, allocations: 51.33 kB / 0.8981 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.01055, allocations: 0.4961 MB / 0.8986 GB, free: 476 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.01077, allocations: 63.95 kB / 0.8987 GB, free: 412 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.01086, allocations: 59.95 kB / 0.8987 GB, free: 352 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.011, allocations: 109 kB / 0.8988 GB, free: 240 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01101, allocations: 4 kB / 0.8988 GB, free: 236 kB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003776/0.01138, allocations: 242.9 kB / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.0114, allocations: 4 kB / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.0114, allocations: 0 / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.01162, allocations: 87.59 kB / 0.8991 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.01221, allocations: 119.9 kB / 0.8993 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/0.01258, allocations: 0.8234 MB / 0.9001 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.01273, allocations: 35.8 kB / 0.9001 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01275, allocations: 7.938 kB / 0.9001 GB, free: 14.88 MB / 0.8698 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.533e-05/0.01284, allocations: 168.5 kB / 0.9003 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.01289, allocations: 15.95 kB / 0.9003 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.01334, allocations: 275.4 kB / 0.9005 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01334, allocations: 4 kB / 0.9005 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01334, allocations: 7.938 kB / 0.9006 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01334, allocations: 0 / 0.9006 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.01441, allocations: 0.6332 MB / 0.9012 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01441, allocations: 0 / 0.9012 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.01497, allocations: 116 kB / 0.9013 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.01515, allocations: 87.55 kB / 0.9014 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01517, allocations: 7.984 kB / 0.9014 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/0.01546, allocations: 0.8195 MB / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01546, allocations: 0 / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.01583, allocations: 346.6 kB / 0.9025 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01584, allocations: 7.953 kB / 0.9025 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01587, allocations: 4 kB / 0.9025 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.01602, allocations: 23.97 kB / 0.9025 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.01604, allocations: 15.92 kB / 0.9026 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.01606, allocations: 11.98 kB / 0.9026 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.01609, allocations: 138.7 kB / 0.9027 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.01609, allocations: 0 / 0.9027 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002743/0.01637, allocations: 131.6 kB / 0.9028 GB, free: 11.96 MB / 0.8698 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.0002443/0.01661, allocations: 234.7 kB / 0.903 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.01696, allocations: 174.9 kB / 0.9032 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01696, allocations: 0 / 0.9032 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.01714, allocations: 98.84 kB / 0.9033 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01734, allocations: 49.64 kB / 0.9034 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.01798, allocations: 338.8 kB / 0.9037 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.01801, allocations: 76.08 kB / 0.9037 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.01815, allocations: 49.19 kB / 0.9038 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.01833, allocations: 114.1 kB / 0.9039 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.01833, allocations: 4 kB / 0.9039 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.006917/0.02524, allocations: 6.771 MB / 0.9105 GB, free: 4.051 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.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.095342397224158]