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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008417/0.008417, allocations: 103.7 kB / 15.74 MB, free: 5.992 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.001807/0.001808, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7347 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 72.11 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7672, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003095/0.7703, allocations: 2.027 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.7728, allocations: 1.659 MB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.7728, allocations: 4 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.389e-05/0.7729, allocations: 19.78 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.7731, allocations: 47.56 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.7741, allocations: 362.8 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.7743, allocations: 219.1 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.7745, allocations: 51.34 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.7746, allocations: 83.7 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.7748, allocations: 87.67 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.7748, allocations: 24 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.7755, allocations: 415.5 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.7756, allocations: 35.91 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.7757, allocations: 91.64 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.7762, allocations: 428.8 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7762, allocations: 0 / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7763, allocations: 4 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7763, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 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.0007831/0.777, allocations: 0.5147 MB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.7771, allocations: 8.031 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000598/0.7777, allocations: 88.64 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7778, allocations: 180.2 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/0.7779, allocations: 50.25 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.7779, allocations: 12.38 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.7783, allocations: 185.7 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7784, allocations: 0 / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.7784, allocations: 19.94 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.7784, allocations: 4 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.7789, allocations: 171.9 kB / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.7801, allocations: 0.915 MB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.7806, allocations: 174.5 kB / 1.215 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.7808, allocations: 72.83 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.7815, allocations: 0.5259 MB / 1.216 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.7815, allocations: 38.55 kB / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.7816, allocations: 0 / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007372/0.7823, allocations: 237.7 kB / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.7823, allocations: 55.34 kB / 1.216 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.7825, allocations: 160.7 kB / 1.216 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.7825, allocations: 29.7 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.7826, allocations: 115.8 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.7827, allocations: 51.3 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.7828, allocations: 37.7 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7829, allocations: 326.8 kB / 1.217 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.7831, allocations: 71.95 kB / 1.217 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.7833, allocations: 91.22 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.7837, allocations: 156 kB / 1.217 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7837, allocations: 4 kB / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005017/0.7842, allocations: 217.3 kB / 1.217 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7843, allocations: 4 kB / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7843, allocations: 7.984 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7843, allocations: 3.984 kB / 1.217 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.7846, allocations: 39.95 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7846, allocations: 3.984 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.7848, allocations: 23.83 kB / 1.218 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.7848, allocations: 8 kB / 1.218 GB, free: 3.285 MB / 0.9356 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.0001106/0.7849, allocations: 123.3 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.785, allocations: 15.81 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.7855, allocations: 198.4 kB / 1.218 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7856, allocations: 0 / 1.218 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7856, allocations: 4 kB / 1.218 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.7856, allocations: 0 / 1.218 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.787, allocations: 0.9855 MB / 1.219 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.787, allocations: 3.984 kB / 1.219 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.7872, allocations: 27.92 kB / 1.219 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7872, allocations: 4 kB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7873, allocations: 8.062 kB / 1.219 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7873, allocations: 7.984 kB / 1.219 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7873, allocations: 4 kB / 1.219 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.7878, allocations: 286.9 kB / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.7878, allocations: 89.02 kB / 1.219 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.7879, allocations: 4 kB / 1.219 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.7881, allocations: 11.98 kB / 1.219 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.7882, allocations: 19.86 kB / 1.219 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.7882, allocations: 7.984 kB / 1.219 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.531e-05/0.7883, allocations: 121.3 kB / 1.219 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7883, allocations: 0 / 1.219 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004626/0.7888, allocations: 131.8 kB / 1.22 GB, free: 1.035 MB / 0.9356 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.000438/0.7892, allocations: 223 kB / 1.22 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.7897, allocations: 186 kB / 1.22 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7897, allocations: 0 / 1.22 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.79, allocations: 79.91 kB / 1.22 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.7904, allocations: 48.08 kB / 1.22 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.7911, allocations: 332.6 kB / 1.22 GB, free: 152 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.7914, allocations: 0.7163 MB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.7916, allocations: 34.34 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.7916, allocations: 15.44 kB / 1.221 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7916, allocations: 0 / 1.221 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of Templates: time 0.008009/0.7997, allocations: 4.304 MB / 1.225 GB, free: 11.14 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) 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) Reference file matches