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.001388/0.001388, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000995/0.000995, allocations: 173 kB / 23.49 MB, free: 1.059 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.954/0.954, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.137/2.137, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 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 1.723e-06/1.723e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.585e-05, allocations: 6.812 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002514/0.00254, allocations: 2.117 MB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.004248, allocations: 1.633 MB / 0.8818 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.004295, allocations: 1.875 kB / 0.8818 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.004345, allocations: 31.72 kB / 0.8819 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.004417, allocations: 47.5 kB / 0.8819 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.005086, allocations: 365.1 kB / 0.8823 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.005249, allocations: 223 kB / 0.8825 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005365, allocations: 39.25 kB / 0.8825 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.005478, allocations: 123.8 kB / 0.8826 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.005573, allocations: 63.8 kB / 0.8827 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.005599, allocations: 20 kB / 0.8827 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.006069, allocations: 417.7 kB / 0.8831 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.0061, allocations: 39.89 kB / 0.8832 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.006156, allocations: 71.88 kB / 0.8832 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.006564, allocations: 414.8 kB / 0.8836 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006566, allocations: 0 / 0.8836 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006567, allocations: 2.062 kB / 0.8836 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.006572, allocations: 0 / 0.8836 GB, free: 1.098 MB / 0.8386 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.0005545/0.007126, allocations: 0.5385 MB / 0.8841 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.007159, allocations: 12.75 kB / 0.8842 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.00815, allocations: 216.6 kB / 0.8844 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.008241, allocations: 124.5 kB / 0.8845 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.008314, allocations: 75.95 kB / 0.8846 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.008345, allocations: 16.31 kB / 0.8846 GB, free: 44 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.008811, allocations: 298.9 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.00882, allocations: 4.188 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.008843, allocations: 4.375 kB / 0.8849 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.008852, allocations: 12.12 kB / 0.8849 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.009074, allocations: 145.1 kB / 0.885 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.009982, allocations: 0.7177 MB / 0.8857 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.01084, allocations: 302.9 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.01097, allocations: 87.66 kB / 0.8861 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.01104, allocations: 15.98 kB / 0.8861 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.01106, allocations: 37.39 kB / 0.8861 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.01106, allocations: 0 / 0.8861 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0008524/0.01191, allocations: 355.6 kB / 0.8865 GB, free: 14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.01194, allocations: 51.41 kB / 0.8865 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.01203, allocations: 189.9 kB / 0.8867 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.01205, allocations: 29.64 kB / 0.8867 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.01211, allocations: 179 kB / 0.8869 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.01215, allocations: 51.53 kB / 0.887 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.01222, allocations: 55.33 kB / 0.887 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.01232, allocations: 0.4884 MB / 0.8875 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.01245, allocations: 71.97 kB / 0.8876 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.01257, allocations: 83.95 kB / 0.8876 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.01279, allocations: 126.9 kB / 0.8878 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01279, allocations: 0 / 0.8878 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000466/0.01326, allocations: 277 kB / 0.888 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01327, allocations: 4 kB / 0.888 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01327, allocations: 0 / 0.888 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.01354, allocations: 91.42 kB / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.0142, allocations: 119.9 kB / 0.8882 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003899/0.01459, allocations: 0.8272 MB / 0.889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.01476, allocations: 35.81 kB / 0.8891 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01478, allocations: 15.98 kB / 0.8891 GB, free: 11.22 MB / 0.8542 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.0001031/0.01488, allocations: 164.6 kB / 0.8892 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.01493, allocations: 11.95 kB / 0.8893 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.01546, allocations: 281.5 kB / 0.8895 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01546, allocations: 7.938 kB / 0.8895 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01547, allocations: 0 / 0.8895 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01547, allocations: 0 / 0.8895 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.0167, allocations: 0.674 MB / 0.8902 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01671, allocations: 0 / 0.8902 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.01735, allocations: 120 kB / 0.8903 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.01755, allocations: 79.61 kB / 0.8904 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.01757, allocations: 8.078 kB / 0.8904 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003648/0.01793, allocations: 0.8311 MB / 0.8912 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01794, allocations: 0 / 0.8912 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.01839, allocations: 354.7 kB / 0.8915 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.0184, allocations: 7.953 kB / 0.8915 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.01843, allocations: 7.984 kB / 0.8915 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.01861, allocations: 27.92 kB / 0.8916 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.01864, allocations: 11.92 kB / 0.8916 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.01866, allocations: 11.98 kB / 0.8916 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.0187, allocations: 142.3 kB / 0.8917 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.0187, allocations: 0 / 0.8917 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003254/0.01903, allocations: 131.6 kB / 0.8919 GB, free: 8.238 MB / 0.8542 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.0003211/0.01935, allocations: 234.7 kB / 0.8921 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.01982, allocations: 201 kB / 0.8923 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01982, allocations: 0 / 0.8923 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.02005, allocations: 104.2 kB / 0.8924 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.0203, allocations: 50.2 kB / 0.8924 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.02115, allocations: 337.6 kB / 0.8927 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.02119, allocations: 68.39 kB / 0.8928 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.02135, allocations: 48.52 kB / 0.8929 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.02145, allocations: 24.47 kB / 0.8929 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of SimCode: time 9.41e-07/0.02145, allocations: 4 kB / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of Templates: time 0.007369/0.02881, allocations: 6.168 MB / 0.8989 GB, free: 1.031 MB / 0.8542 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.549843687796965]