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.001333/0.001333, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001778/0.001778, allocations: 173 kB / 23.49 MB, free: 1.062 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.9786/0.9786, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.096/2.096, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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 2.866e-06/2.866e-06, allocations: 0 / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.874e-05/4.161e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004012/0.004053, allocations: 2.114 MB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.006747, allocations: 1.643 MB / 0.8818 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.006832, allocations: 4 kB / 0.8818 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.023e-05/0.006902, allocations: 21.31 kB / 0.8819 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.007032, allocations: 55.48 kB / 0.8819 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.008146, allocations: 362.5 kB / 0.8823 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.008419, allocations: 235 kB / 0.8825 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.008567, allocations: 33.66 kB / 0.8825 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.008733, allocations: 119.8 kB / 0.8826 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.008878, allocations: 71.78 kB / 0.8827 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.008914, allocations: 20 kB / 0.8827 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.009676, allocations: 407.3 kB / 0.8831 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.009724, allocations: 43.83 kB / 0.8832 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.009805, allocations: 67.88 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.01045, allocations: 418.7 kB / 0.8836 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01045, allocations: 0 / 0.8836 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01046, allocations: 0 / 0.8836 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.01046, allocations: 0 / 0.8836 GB, free: 1.113 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.0007799/0.01124, allocations: 0.5464 MB / 0.8842 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.01129, allocations: 8.031 kB / 0.8842 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.01287, allocations: 212.6 kB / 0.8844 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.013, allocations: 124.5 kB / 0.8845 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.01311, allocations: 75.95 kB / 0.8846 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.01316, allocations: 16.38 kB / 0.8846 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.0139, allocations: 298.9 kB / 0.8849 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01391, allocations: 192 / 0.8849 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.01395, allocations: 8.375 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.01396, allocations: 4.125 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.01432, allocations: 149 kB / 0.885 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.01576, allocations: 0.7099 MB / 0.8857 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.01714, allocations: 314.8 kB / 0.886 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.01735, allocations: 79.66 kB / 0.8861 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.01746, allocations: 23.97 kB / 0.8861 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.0175, allocations: 37.39 kB / 0.8861 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.0175, allocations: 4 kB / 0.8861 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0014/0.0189, allocations: 351.3 kB / 0.8865 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.01894, allocations: 55.41 kB / 0.8865 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01907, allocations: 189.6 kB / 0.8867 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.01911, allocations: 33.7 kB / 0.8867 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01923, allocations: 167 kB / 0.8869 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.01929, allocations: 59.52 kB / 0.887 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.01937, allocations: 47.34 kB / 0.887 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01948, allocations: 0.4923 MB / 0.8875 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.01963, allocations: 75.97 kB / 0.8876 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.01976, allocations: 76.98 kB / 0.8876 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.01998, allocations: 137.7 kB / 0.8878 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01999, allocations: 4 kB / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005149/0.0205, allocations: 258.7 kB / 0.888 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.02052, allocations: 10.66 kB / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.02053, allocations: 0 / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.02084, allocations: 83.55 kB / 0.8881 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.02151, allocations: 127.9 kB / 0.8882 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004338/0.02195, allocations: 0.8272 MB / 0.889 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.02212, allocations: 35.81 kB / 0.8891 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.02214, allocations: 11.98 kB / 0.8891 GB, free: 11.25 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.0001058/0.02225, allocations: 164.5 kB / 0.8892 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.0223, allocations: 15.95 kB / 0.8893 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.02284, allocations: 287.8 kB / 0.8895 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.02285, allocations: 7.938 kB / 0.8895 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.02285, allocations: 0 / 0.8895 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02286, allocations: 3.984 kB / 0.8895 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.02411, allocations: 0.6638 MB / 0.8902 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.02411, allocations: 8.062 kB / 0.8902 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.02473, allocations: 115.9 kB / 0.8903 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.02495, allocations: 83.61 kB / 0.8904 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.02497, allocations: 7.984 kB / 0.8904 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003677/0.02534, allocations: 0.8273 MB / 0.8912 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.02534, allocations: 3.938 kB / 0.8912 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.02581, allocations: 350.7 kB / 0.8915 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.02582, allocations: 7.953 kB / 0.8915 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.02585, allocations: 4 kB / 0.8915 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.02603, allocations: 23.92 kB / 0.8916 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.02607, allocations: 19.91 kB / 0.8916 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02609, allocations: 7.984 kB / 0.8916 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.02613, allocations: 146.2 kB / 0.8917 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02613, allocations: 0 / 0.8917 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003823/0.02652, allocations: 131.6 kB / 0.8919 GB, free: 8.258 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.0003511/0.02687, allocations: 233.2 kB / 0.8921 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.02739, allocations: 198.9 kB / 0.8923 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02739, allocations: 0 / 0.8923 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.02762, allocations: 100 kB / 0.8924 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.0279, allocations: 53.58 kB / 0.8924 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.02889, allocations: 359 kB / 0.8928 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.02894, allocations: 72.38 kB / 0.8928 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.0291, allocations: 41.03 kB / 0.8929 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.0292, allocations: 32.47 kB / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of SimCode: time 1.423e-06/0.02921, allocations: 0 / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of Templates: time 0.007968/0.03717, allocations: 6.168 MB / 0.8989 GB, free: 1.062 MB / 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.617419227026403]