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.001361/0.001361, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001619/0.001619, allocations: 169 kB / 24.06 MB, free: 456 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.9558/0.9558, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.145/2.145, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.873e-06/1.873e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.294e-05, allocations: 3.062 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003292/0.003315, allocations: 2.106 MB / 0.8814 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.005604, allocations: 1.435 MB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.005671, allocations: 4 kB / 0.8829 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.005729, allocations: 19.78 kB / 0.8829 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.005845, allocations: 49.69 kB / 0.8829 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.006869, allocations: 346.6 kB / 0.8832 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.007131, allocations: 227 kB / 0.8835 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.007262, allocations: 37.66 kB / 0.8835 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.007425, allocations: 119.8 kB / 0.8836 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.007563, allocations: 71.83 kB / 0.8837 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.007595, allocations: 16 kB / 0.8837 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006953/0.00829, allocations: 351.4 kB / 0.884 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.008343, allocations: 43.89 kB / 0.8841 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.008417, allocations: 71.89 kB / 0.8841 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.009006, allocations: 394.7 kB / 0.8845 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.009009, allocations: 0 / 0.8845 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00901, allocations: 0 / 0.8845 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.009015, allocations: 0 / 0.8845 GB, free: 0.7734 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.0007027/0.009717, allocations: 0.5425 MB / 0.885 GB, free: 192 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.009755, allocations: 8.031 kB / 0.8851 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.01122, allocations: 208.6 kB / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.01133, allocations: 132.5 kB / 0.8854 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-05/0.01141, allocations: 71.95 kB / 0.8855 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.01146, allocations: 16.38 kB / 0.8855 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.01204, allocations: 270.9 kB / 0.8857 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01205, allocations: 192 / 0.8857 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.01209, allocations: 4.375 kB / 0.8857 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.01209, allocations: 8.125 kB / 0.8857 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.01233, allocations: 125 kB / 0.8859 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.01325, allocations: 0.691 MB / 0.8865 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.01403, allocations: 278.8 kB / 0.8868 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.01413, allocations: 75.66 kB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.01419, allocations: 15.98 kB / 0.8869 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01421, allocations: 37.39 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.01421, allocations: 0 / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000745/0.01496, allocations: 327.6 kB / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.01498, allocations: 55.41 kB / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.01507, allocations: 188.8 kB / 0.8875 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01509, allocations: 33.7 kB / 0.8875 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.01516, allocations: 171 kB / 0.8877 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.0152, allocations: 51.53 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.01527, allocations: 55.31 kB / 0.8878 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01538, allocations: 0.4923 MB / 0.8882 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.01547, allocations: 55.97 kB / 0.8883 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.01556, allocations: 66.53 kB / 0.8884 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.01572, allocations: 107.6 kB / 0.8885 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01572, allocations: 0 / 0.8885 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003977/0.01612, allocations: 238.8 kB / 0.8887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01613, allocations: 8 kB / 0.8887 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01614, allocations: 0 / 0.8887 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/0.01636, allocations: 87.48 kB / 0.8888 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.01702, allocations: 123.9 kB / 0.8889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003595/0.01738, allocations: 0.8195 MB / 0.8897 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.01769, allocations: 35.88 kB / 0.8897 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.01771, allocations: 11.92 kB / 0.8897 GB, free: 11.15 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 9.194e-05/0.0178, allocations: 164.5 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.01784, allocations: 15.95 kB / 0.8899 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.0183, allocations: 257.2 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.0183, allocations: 0 / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.0183, allocations: 7.938 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01831, allocations: 4 kB / 0.8902 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.01945, allocations: 0.6215 MB / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.01946, allocations: 8 kB / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.02008, allocations: 119.9 kB / 0.8909 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.02027, allocations: 83.55 kB / 0.891 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.02029, allocations: 7.984 kB / 0.891 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003213/0.02061, allocations: 0.8235 MB / 0.8918 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02061, allocations: 7.938 kB / 0.8918 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.021, allocations: 338.7 kB / 0.8921 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.02101, allocations: 11.94 kB / 0.8921 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.02104, allocations: 4 kB / 0.8921 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.02121, allocations: 23.98 kB / 0.8922 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.02124, allocations: 23.84 kB / 0.8922 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.02125, allocations: 4 kB / 0.8922 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.0213, allocations: 142.2 kB / 0.8923 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0213, allocations: 0 / 0.8923 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003141/0.02161, allocations: 131.6 kB / 0.8925 GB, free: 8.246 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.0002907/0.0219, allocations: 230.8 kB / 0.8927 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.02229, allocations: 180.8 kB / 0.8928 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02229, allocations: 0 / 0.8928 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.0225, allocations: 96.09 kB / 0.8929 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.02274, allocations: 53.08 kB / 0.893 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.02351, allocations: 333.5 kB / 0.8933 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.02354, allocations: 68.39 kB / 0.8934 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.0237, allocations: 48.02 kB / 0.8934 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.02389, allocations: 114.1 kB / 0.8935 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.02389, allocations: 0 / 0.8935 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of Templates: time 0.007624/0.03151, allocations: 6.901 MB / 0.9003 GB, free: 256 kB / 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.5672169690951705]