Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001547/0.001547, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.00175/0.00175, allocations: 212.4 kB / 22.99 MB, free: 4.98 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 65.58 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003816/0.3393, allocations: 1.989 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00288/0.3422, allocations: 1.526 MB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3423, allocations: 7.938 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.635e-05/0.3424, allocations: 11.86 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3425, allocations: 47.55 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3438, allocations: 366.8 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.3441, allocations: 219.1 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3443, allocations: 41.59 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3445, allocations: 79.83 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3446, allocations: 87.69 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.3447, allocations: 16 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.3456, allocations: 431.4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.3457, allocations: 43.84 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.3458, allocations: 71.78 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008422/0.3466, allocations: 434.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.3466, allocations: 7.984 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3466, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3466, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 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.001041/0.3477, allocations: 449.2 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3477, allocations: 12.03 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000639/0.3483, allocations: 92.73 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3485, allocations: 126.3 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.3486, allocations: 79.89 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.3487, allocations: 16.38 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.3492, allocations: 245.4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3492, allocations: 3.938 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.3493, allocations: 15.92 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3493, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.3496, allocations: 127.9 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.3512, allocations: 0.595 MB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.3533, allocations: 322.2 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3536, allocations: 84.81 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/0.3541, allocations: 68.14 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.3541, allocations: 38.56 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.3541, allocations: 0 / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001771/0.3559, allocations: 386.9 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.356, allocations: 55.41 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3561, allocations: 126 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3561, allocations: 29.7 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.3562, allocations: 124.3 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3563, allocations: 55.52 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.3564, allocations: 37.7 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3565, allocations: 318.8 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.3567, allocations: 83.91 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.357, allocations: 89.67 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3574, allocations: 153.8 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3574, allocations: 0 / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009969/0.3584, allocations: 295.6 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3584, allocations: 5.719 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3584, allocations: 0 / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.359, allocations: 124.1 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3603, allocations: 103.9 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009183/0.3612, allocations: 0.6303 MB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3614, allocations: 23.92 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3614, allocations: 8 kB / 1.337 GB, free: 6.59 MB / 1.029 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.0001539/0.3616, allocations: 131.4 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.3616, allocations: 15.94 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009639/0.3626, allocations: 285.7 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3626, allocations: 7.938 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3626, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3626, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3645, allocations: 0.6448 MB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3645, allocations: 0 / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.3657, allocations: 92.03 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.3662, allocations: 126.4 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3663, allocations: 4 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008906/0.3671, allocations: 0.6381 MB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3672, allocations: 0 / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.3681, allocations: 361.8 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.3682, allocations: 15.83 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3682, allocations: 11.94 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3684, allocations: 11.98 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3685, allocations: 15.97 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3685, allocations: 8 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.3686, allocations: 100.1 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3686, allocations: 0 / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005314/0.3691, allocations: 131.6 kB / 1.34 GB, free: 3.902 MB / 1.029 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.0004847/0.3696, allocations: 238.6 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009823/0.3706, allocations: 215.8 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3706, allocations: 0 / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.3712, allocations: 131.8 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3716, allocations: 40.03 kB / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.3725, allocations: 345.4 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3726, allocations: 94.78 kB / 1.341 GB, free: 2.797 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.955e-05/0.3727, allocations: 20.95 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.3727, allocations: 19.44 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3727, allocations: 0 / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of Templates: time 0.009696/0.3824, allocations: 4.713 MB / 1.345 GB, free: 14.11 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.9414467960014]