Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001685/0.001685, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001883/0.001883, allocations: 185.3 kB / 24.09 MB, free: 416 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.9462/0.9462, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.91e-05, allocations: 3.312 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.005714/0.005733, allocations: 2.087 MB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.007779, allocations: 1.443 MB / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.007841, allocations: 4 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.007893, allocations: 20.38 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.007992, allocations: 52.36 kB / 0.7911 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.008903, allocations: 345.8 kB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.009122, allocations: 230.9 kB / 0.7916 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.009243, allocations: 45.62 kB / 0.7917 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.009379, allocations: 119.8 kB / 0.7918 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.009509, allocations: 73.66 kB / 0.7919 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.009537, allocations: 16 kB / 0.7919 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.01013, allocations: 347.5 kB / 0.7922 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.01017, allocations: 49.36 kB / 0.7922 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.01024, allocations: 63.89 kB / 0.7923 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.01077, allocations: 402.8 kB / 0.7927 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01077, allocations: 0 / 0.7927 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.32e-07/0.01077, allocations: 0.5312 kB / 0.7927 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.01077, allocations: 1.906 kB / 0.7927 GB, free: 6.938 MB / 0.7448 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.0005175/0.01129, allocations: 0.5424 MB / 0.7932 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01132, allocations: 8.031 kB / 0.7932 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.01159, allocations: 99.81 kB / 0.7933 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.01167, allocations: 125.2 kB / 0.7934 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.01173, allocations: 75.95 kB / 0.7935 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.01175, allocations: 16.91 kB / 0.7935 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.01194, allocations: 199.7 kB / 0.7937 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.01195, allocations: 192 / 0.7937 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.01196, allocations: 8.375 kB / 0.7937 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.01197, allocations: 8.125 kB / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.01205, allocations: 62.05 kB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.01276, allocations: 0.573 MB / 0.7944 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.01336, allocations: 206.3 kB / 0.7946 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.01341, allocations: 45.27 kB / 0.7946 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.01359, allocations: 74.36 kB / 0.7947 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.01361, allocations: 33.39 kB / 0.7947 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.01361, allocations: 2.188 kB / 0.7947 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0005572/0.01417, allocations: 245.3 kB / 0.7949 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.01419, allocations: 55.41 kB / 0.795 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.01427, allocations: 184.8 kB / 0.7952 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01429, allocations: 29.7 kB / 0.7952 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.01436, allocations: 175 kB / 0.7954 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.01439, allocations: 52.02 kB / 0.7954 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.01444, allocations: 45.19 kB / 0.7955 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01454, allocations: 0.4923 MB / 0.7959 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.01459, allocations: 31.98 kB / 0.796 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.01463, allocations: 39.97 kB / 0.796 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.951e-05/0.01473, allocations: 87.36 kB / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01474, allocations: 0 / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002793/0.01501, allocations: 198.8 kB / 0.7963 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01503, allocations: 4.625 kB / 0.7963 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01503, allocations: 0 / 0.7963 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.01525, allocations: 79.81 kB / 0.7964 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.01574, allocations: 110.4 kB / 0.7965 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003514/0.01609, allocations: 0.8167 MB / 0.7973 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.01615, allocations: 20.89 kB / 0.7973 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.01616, allocations: 11.94 kB / 0.7973 GB, free: 1.996 MB / 0.7448 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 7.837e-05/0.01624, allocations: 165.8 kB / 0.7975 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01627, allocations: 19.91 kB / 0.7975 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.01657, allocations: 194.2 kB / 0.7977 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01658, allocations: 0 / 0.7977 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01658, allocations: 3.938 kB / 0.7977 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01658, allocations: 0 / 0.7977 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.01726, allocations: 0.5592 MB / 0.7982 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01726, allocations: 0 / 0.7982 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.01773, allocations: 96.02 kB / 0.7983 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.01791, allocations: 84.62 kB / 0.7984 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01792, allocations: 11.98 kB / 0.7984 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003141/0.01823, allocations: 0.8156 MB / 0.7992 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01823, allocations: 0 / 0.7992 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01852, allocations: 334.6 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.01853, allocations: 7.953 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.01855, allocations: 11.98 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.01862, allocations: 4 kB / 0.7995 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.01864, allocations: 15.91 kB / 0.7995 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.01865, allocations: 8 kB / 0.7995 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.01869, allocations: 133.7 kB / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01869, allocations: 4 kB / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002677/0.01896, allocations: 131.5 kB / 0.7998 GB, free: 15.3 MB / 0.7605 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.0002779/0.01923, allocations: 250.6 kB / 0.8 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.01951, allocations: 145.2 kB / 0.8002 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01951, allocations: 0 / 0.8002 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01966, allocations: 88.05 kB / 0.8003 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.01987, allocations: 44.08 kB / 0.8003 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.02047, allocations: 321.6 kB / 0.8006 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.02051, allocations: 71.7 kB / 0.8007 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.044e-05/0.02057, allocations: 23.52 kB / 0.8007 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.02067, allocations: 106.2 kB / 0.8008 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of SimCode: time 6.42e-07/0.02067, allocations: 0 / 0.8008 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of Templates: time 0.005979/0.02665, allocations: 5.074 MB / 0.8058 GB, free: 9.199 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.032281349878758]