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.001841/0.001841, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002125/0.002125, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.659/1.659, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 3.412/3.412, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] 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 6.091e-06/6.091e-06, allocations: 4 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.608e-05, allocations: 4.844 kB / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004302/0.004338, allocations: 2.08 MB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.007524, allocations: 1.636 MB / 0.8811 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.007591, allocations: 0 / 0.8811 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.00766, allocations: 23.78 kB / 0.8811 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.007795, allocations: 51.48 kB / 0.8812 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.00893, allocations: 366.5 kB / 0.8815 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.009221, allocations: 231 kB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.009382, allocations: 37.66 kB / 0.8818 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.009585, allocations: 119.8 kB / 0.8819 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.009741, allocations: 67.78 kB / 0.8819 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.009787, allocations: 20 kB / 0.882 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.01064, allocations: 415.3 kB / 0.8824 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.0107, allocations: 43.83 kB / 0.8824 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.0108, allocations: 63.89 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.0116, allocations: 486.6 kB / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01161, allocations: 0 / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01161, allocations: 0 / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.01161, allocations: 0 / 0.8829 GB, free: 1.082 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.001056/0.01267, allocations: 0.5539 MB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.01272, allocations: 8.031 kB / 0.8835 GB, free: 488 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.01494, allocations: 216.6 kB / 0.8837 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.01512, allocations: 120.5 kB / 0.8838 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.01526, allocations: 71.95 kB / 0.8839 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.01531, allocations: 20.38 kB / 0.8839 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.01638, allocations: 346.1 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.0164, allocations: 192 / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.01644, allocations: 4.375 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.01645, allocations: 8.125 kB / 0.8842 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.01772, allocations: 264.4 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.01964, allocations: 0.7998 MB / 0.8853 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.02271, allocations: 454.8 kB / 0.8857 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.0234, allocations: 151.6 kB / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.0235, allocations: 16 kB / 0.8858 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.02384, allocations: 33.39 kB / 0.8859 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.817e-06/0.02384, allocations: 7.984 kB / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.002996/0.02683, allocations: 0.5501 MB / 0.8864 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.02689, allocations: 55.39 kB / 0.8865 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.02709, allocations: 189.9 kB / 0.8867 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.02714, allocations: 25.7 kB / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.02729, allocations: 179 kB / 0.8869 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.02736, allocations: 55.58 kB / 0.8869 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.0275, allocations: 55.34 kB / 0.887 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002977/0.0278, allocations: 0.4923 MB / 0.8874 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.0285, allocations: 147.9 kB / 0.8876 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.02918, allocations: 148.4 kB / 0.8877 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.03039, allocations: 253.6 kB / 0.888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.03039, allocations: 0 / 0.888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00184/0.03223, allocations: 414.8 kB / 0.8884 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.03225, allocations: 8 kB / 0.8884 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.03226, allocations: 0 / 0.8884 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005258/0.03278, allocations: 114.6 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.03439, allocations: 123.9 kB / 0.8886 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.03543, allocations: 0.8741 MB / 0.8894 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.03582, allocations: 39.86 kB / 0.8895 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.03586, allocations: 15.92 kB / 0.8895 GB, free: 10.06 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.0002071/0.03607, allocations: 172.6 kB / 0.8897 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.03615, allocations: 11.95 kB / 0.8897 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.03802, allocations: 427.6 kB / 0.8901 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.03803, allocations: 7.938 kB / 0.8901 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.03803, allocations: 0 / 0.8901 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.03803, allocations: 4 kB / 0.8901 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.04131, allocations: 0.8318 MB / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.04132, allocations: 0 / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.0429, allocations: 116 kB / 0.891 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.04336, allocations: 118.7 kB / 0.8911 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.04339, allocations: 3.984 kB / 0.8911 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009869/0.04438, allocations: 0.8858 MB / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04438, allocations: 0 / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.04618, allocations: 490.6 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.04621, allocations: 11.89 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.04625, allocations: 0 / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.04668, allocations: 35.91 kB / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.04673, allocations: 7.984 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.04677, allocations: 11.98 kB / 0.8925 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001258/0.04689, allocations: 143.2 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.04689, allocations: 0 / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005525/0.04744, allocations: 131.6 kB / 0.8928 GB, free: 6.551 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.0007678/0.04821, allocations: 238.7 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.05009, allocations: 330.8 kB / 0.8933 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.0501, allocations: 0 / 0.8933 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.05111, allocations: 182.9 kB / 0.8935 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.0515, allocations: 43.97 kB / 0.8936 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.0531, allocations: 417.9 kB / 0.894 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.05322, allocations: 99 kB / 0.894 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002547/0.05348, allocations: 43.41 kB / 0.8941 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.05363, allocations: 28.47 kB / 0.8941 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.05363, allocations: 0 / 0.8941 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of Templates: time 0.01353/0.06716, allocations: 6.165 MB / 0.9001 GB, free: 15.07 MB / 0.8698 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.349903492955491]