Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009527/0.0009527, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001079/0.001079, 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.9735/0.9735, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.043/2.043, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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_ZeroInput,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_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.561e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003237/0.003262, allocations: 2.102 MB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.005395, allocations: 1.438 MB / 0.8828 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.005469, allocations: 5.188 kB / 0.8829 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.971e-05/0.005529, allocations: 19.78 kB / 0.8829 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.005643, allocations: 49.09 kB / 0.8829 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.006752, allocations: 346.6 kB / 0.8833 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.007014, allocations: 231 kB / 0.8835 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.007149, allocations: 33.67 kB / 0.8835 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.007319, allocations: 119.8 kB / 0.8836 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.007452, allocations: 75.78 kB / 0.8837 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.007484, allocations: 16 kB / 0.8837 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.008189, allocations: 347.5 kB / 0.884 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.008231, allocations: 51.83 kB / 0.8841 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.008283, allocations: 59.89 kB / 0.8841 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.008726, allocations: 398.7 kB / 0.8845 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.008729, allocations: 0 / 0.8845 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00873, allocations: 0 / 0.8845 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.008734, allocations: 0 / 0.8845 GB, free: 0.7773 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.0005441/0.009278, allocations: 0.5347 MB / 0.885 GB, free: 204 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.00931, allocations: 8.031 kB / 0.8851 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.01032, allocations: 216.7 kB / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.867e-05/0.01041, allocations: 128.4 kB / 0.8854 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.01047, allocations: 75.89 kB / 0.8855 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.01051, allocations: 16.38 kB / 0.8855 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.01092, allocations: 270.9 kB / 0.8857 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.01093, allocations: 192 / 0.8857 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.01096, allocations: 16.31 kB / 0.8857 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.01096, allocations: 4.125 kB / 0.8857 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.01113, allocations: 117 kB / 0.8859 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.01203, allocations: 0.6871 MB / 0.8865 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.01283, allocations: 282.8 kB / 0.8868 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01294, allocations: 75.66 kB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.724e-05/0.01301, allocations: 19.97 kB / 0.8869 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.01303, allocations: 37.39 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.01303, allocations: 0 / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0007859/0.01382, allocations: 320.1 kB / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.01384, allocations: 55.41 kB / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.01394, allocations: 185.8 kB / 0.8875 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.01396, allocations: 33.7 kB / 0.8875 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.01404, allocations: 171 kB / 0.8877 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.01407, allocations: 55.52 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.01415, allocations: 55.31 kB / 0.8878 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01427, allocations: 0.4884 MB / 0.8882 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.01437, allocations: 59.97 kB / 0.8883 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.01446, allocations: 59.95 kB / 0.8884 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01463, allocations: 110.1 kB / 0.8885 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.01463, allocations: 3.938 kB / 0.8885 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004222/0.01505, allocations: 234.5 kB / 0.8887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01506, allocations: 6.344 kB / 0.8887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01507, allocations: 0 / 0.8887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.01532, allocations: 87.36 kB / 0.8888 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.016, allocations: 127.9 kB / 0.8889 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000388/0.01639, allocations: 0.8234 MB / 0.8897 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01656, allocations: 27.88 kB / 0.8897 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.01658, allocations: 15.92 kB / 0.8897 GB, free: 11.16 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.66e-05/0.01668, allocations: 164.5 kB / 0.8899 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.01673, allocations: 11.95 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.01727, allocations: 260.3 kB / 0.8902 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01727, allocations: 4 kB / 0.8902 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01727, allocations: 7.938 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01728, allocations: 3.938 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.01848, allocations: 0.6363 MB / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01848, allocations: 0 / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.01914, allocations: 123.9 kB / 0.8909 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.01934, allocations: 79.55 kB / 0.891 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.01936, allocations: 7.984 kB / 0.891 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003655/0.01973, allocations: 0.8234 MB / 0.8918 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01973, allocations: 4 kB / 0.8918 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.02019, allocations: 337.2 kB / 0.8921 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.0202, allocations: 7.953 kB / 0.8921 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.02024, allocations: 3.984 kB / 0.8921 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.02041, allocations: 27.98 kB / 0.8922 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.02044, allocations: 15.91 kB / 0.8922 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.02046, allocations: 11.94 kB / 0.8922 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.02051, allocations: 138.4 kB / 0.8923 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02051, allocations: 0 / 0.8923 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003804/0.02089, allocations: 131.6 kB / 0.8925 GB, free: 8.262 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.0003263/0.02121, allocations: 238.7 kB / 0.8927 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.02162, allocations: 182.8 kB / 0.8929 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02162, allocations: 0 / 0.8929 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.02183, allocations: 96.17 kB / 0.8929 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.02209, allocations: 49.72 kB / 0.893 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.02291, allocations: 354.8 kB / 0.8933 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.02295, allocations: 68.39 kB / 0.8934 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.0232, allocations: 47.02 kB / 0.8934 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.0234, allocations: 114.1 kB / 0.8935 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.0234, allocations: 0 / 0.8935 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of Templates: time 0.008137/0.03153, allocations: 6.906 MB / 0.9003 GB, free: 272 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.505395176820457]