Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006814/0.006814, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.83 kB / 0.9508 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2723, allocations: 140.4 MB / 1.088 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002924/0.2752, allocations: 2.024 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.2775, allocations: 1.663 MB / 1.092 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.2776, allocations: 8 kB / 1.092 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.304e-05/0.2776, allocations: 15.8 kB / 1.092 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.2778, allocations: 51.55 kB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.2787, allocations: 354.8 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.2789, allocations: 223.2 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2791, allocations: 53.44 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2792, allocations: 83.72 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2794, allocations: 87.72 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.2794, allocations: 20 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.2801, allocations: 415.5 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.2802, allocations: 43.83 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.2803, allocations: 87.66 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.2808, allocations: 423 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2808, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2808, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2808, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 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.000763/0.2816, allocations: 0.5147 MB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2816, allocations: 8.031 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.2822, allocations: 88.73 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2823, allocations: 184.1 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.2824, allocations: 46.25 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.2824, allocations: 16.38 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.2828, allocations: 174.1 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2829, allocations: 7.875 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2829, allocations: 11.94 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2829, allocations: 12 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.2834, allocations: 179.8 kB / 1.095 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2846, allocations: 0.9072 MB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.2851, allocations: 178.5 kB / 1.096 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.2853, allocations: 76.83 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.2859, allocations: 0.522 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2859, allocations: 30.56 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.2859, allocations: 0 / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.000683/0.2866, allocations: 251.8 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2867, allocations: 55.34 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2868, allocations: 157.5 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.2868, allocations: 29.7 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.2869, allocations: 115.8 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.287, allocations: 51.28 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.287, allocations: 37.7 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2872, allocations: 322.8 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2874, allocations: 79.95 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.2876, allocations: 93.66 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2879, allocations: 145.2 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2879, allocations: 11.94 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004751/0.2884, allocations: 209.4 kB / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2884, allocations: 5.719 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2885, allocations: 4 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2885, allocations: 0 / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2887, allocations: 39.91 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2887, allocations: 0 / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.2889, allocations: 27.86 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2889, allocations: 11.98 kB / 1.098 GB, free: 7.121 MB / 0.8575 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.0001017/0.289, allocations: 125.8 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.2891, allocations: 11.91 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.2896, allocations: 202.3 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2896, allocations: 0 / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2896, allocations: 4 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2896, allocations: 3.984 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.2909, allocations: 0.9778 MB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.291, allocations: 0 / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2911, allocations: 31.91 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2912, allocations: 4 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2912, allocations: 0 / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2912, allocations: 11.94 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2912, allocations: 4.062 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.2917, allocations: 292.1 kB / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.2917, allocations: 92.94 kB / 1.099 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.2918, allocations: 12 kB / 1.099 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.292, allocations: 7.984 kB / 1.099 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.292, allocations: 23.86 kB / 1.099 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.292, allocations: 4 kB / 1.099 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.913e-05/0.2921, allocations: 117.1 kB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2921, allocations: 0 / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000425/0.2926, allocations: 131.8 kB / 1.1 GB, free: 4.879 MB / 0.8575 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.0004039/0.293, allocations: 227 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.2934, allocations: 183.8 kB / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2935, allocations: 0 / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.2937, allocations: 79.91 kB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.2941, allocations: 44.16 kB / 1.1 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.2948, allocations: 328.8 kB / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.295, allocations: 0.7086 MB / 1.101 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.2952, allocations: 33.42 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.2953, allocations: 19.44 kB / 1.101 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of SimCode: time 2.004e-06/0.2953, allocations: 0 / 1.101 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.007436/0.3027, allocations: 4.351 MB / 1.106 GB, free: 14.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches