Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001883/0.001883, allocations: 109.9 kB / 16.45 MB, free: 6.508 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.002229/0.002229, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.288/3.288, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") [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.00207/0.00207, allocations: 68.19 kB / 1.149 GB, free: 25.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 176.1 MB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003567/0.3368, allocations: 2.054 MB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.3394, allocations: 1.694 MB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.3395, allocations: 8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.3395, allocations: 11.86 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3397, allocations: 51.55 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.3407, allocations: 358.8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.341, allocations: 227.1 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3411, allocations: 37.42 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.3412, allocations: 83.72 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3414, allocations: 95.66 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.3414, allocations: 16 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.3423, allocations: 419.5 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.3424, allocations: 43.89 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.3425, allocations: 83.66 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.3431, allocations: 430.6 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3431, allocations: 4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3431, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3431, allocations: 0 / 1.327 GB, free: 13.12 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.0009294/0.3441, allocations: 0.5217 MB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3441, allocations: 15.98 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006156/0.3447, allocations: 88.73 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3449, allocations: 184.1 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.345, allocations: 50.25 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.345, allocations: 16.38 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.3455, allocations: 193.9 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3455, allocations: 3.938 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3455, allocations: 4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3455, allocations: 4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.346, allocations: 175.9 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.3475, allocations: 0.8997 MB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.3481, allocations: 166.5 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3483, allocations: 68.83 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007526/0.3491, allocations: 0.522 MB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3491, allocations: 34.56 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.3491, allocations: 4 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0008024/0.3499, allocations: 240.2 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.3499, allocations: 51.41 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3501, allocations: 164.5 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3501, allocations: 25.7 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3502, allocations: 127.9 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.3503, allocations: 43.62 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.3504, allocations: 37.7 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3505, allocations: 326.8 kB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.3508, allocations: 79.86 kB / 1.331 GB, free: 8.707 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.351, allocations: 97.66 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.3514, allocations: 148.8 kB / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3514, allocations: 3.938 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005594/0.352, allocations: 209.5 kB / 1.331 GB, free: 8.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.352, allocations: 12.03 kB / 1.331 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.352, allocations: 3.984 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.352, allocations: 0 / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3523, allocations: 43.91 kB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3523, allocations: 0 / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.3525, allocations: 35.75 kB / 1.331 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.3525, allocations: 8 kB / 1.331 GB, free: 8.141 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.3527, allocations: 121.8 kB / 1.331 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.3527, allocations: 15.95 kB / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.3534, allocations: 198.3 kB / 1.331 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3534, allocations: 4 kB / 1.331 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3534, allocations: 0 / 1.331 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3534, allocations: 0 / 1.331 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.355, allocations: 0.9779 MB / 1.332 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.355, allocations: 4.062 kB / 1.332 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3552, allocations: 31.91 kB / 1.332 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3553, allocations: 4 kB / 1.332 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3553, allocations: 0 / 1.332 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3553, allocations: 4 kB / 1.332 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3553, allocations: 0 / 1.332 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.3558, allocations: 300.4 kB / 1.333 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.3559, allocations: 96.89 kB / 1.333 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.356, allocations: 8 kB / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3562, allocations: 11.98 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3562, allocations: 15.92 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3562, allocations: 11.98 kB / 1.333 GB, free: 6.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.648e-05/0.3563, allocations: 117.1 kB / 1.333 GB, free: 6.027 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3563, allocations: 3.938 kB / 1.333 GB, free: 6.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004903/0.3568, allocations: 127.6 kB / 1.333 GB, free: 5.898 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004814/0.3573, allocations: 238.7 kB / 1.333 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005482/0.3579, allocations: 161.7 kB / 1.333 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3579, allocations: 0 / 1.333 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.3581, allocations: 76.09 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3585, allocations: 45.97 kB / 1.334 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.3593, allocations: 332.6 kB / 1.334 GB, free: 5.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.3596, allocations: 0.7086 MB / 1.335 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.3598, allocations: 27.55 kB / 1.335 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.3599, allocations: 15.44 kB / 1.335 GB, free: 4.25 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.3599, allocations: 0 / 1.335 GB, free: 4.25 MB / 1.029 GB Notification: Performance of Templates: time 0.009114/0.369, allocations: 4.373 MB / 1.339 GB, free: 15.92 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.238515796139836]