Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009583/0.009583, allocations: 101.1 kB / 15.73 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.001935/0.001935, allocations: 198.8 kB / 16.68 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7856, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003414/0.7891, allocations: 2.039 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.7917, allocations: 1.659 MB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.523e-05/0.7918, allocations: 4 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.7919, allocations: 19.78 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.792, allocations: 47.56 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.7931, allocations: 362.8 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.7933, allocations: 215.2 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.7935, allocations: 49.47 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.7936, allocations: 83.7 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.7938, allocations: 87.73 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.7938, allocations: 16 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007899/0.7946, allocations: 419.5 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.7947, allocations: 47.84 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.7948, allocations: 87.64 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.7954, allocations: 424.7 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7954, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7954, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.7954, allocations: 0 / 1.213 GB, free: 8.117 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.0008443/0.7963, allocations: 0.5186 MB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.7963, allocations: 8.031 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/0.7969, allocations: 92.64 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.7971, allocations: 172.3 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.7971, allocations: 50.25 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.7972, allocations: 12.38 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.7976, allocations: 189.9 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7976, allocations: 3.938 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.7977, allocations: 12 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7977, allocations: 4 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.7981, allocations: 175.9 kB / 1.214 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.7995, allocations: 0.9112 MB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.8, allocations: 178.5 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.8002, allocations: 76.83 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/0.8009, allocations: 0.522 MB / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.8009, allocations: 30.56 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.8009, allocations: 3.938 kB / 1.216 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007134/0.8016, allocations: 243.3 kB / 1.216 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.8017, allocations: 55.34 kB / 1.216 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.8018, allocations: 160.5 kB / 1.216 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.8019, allocations: 29.7 kB / 1.216 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.802, allocations: 115.8 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.802, allocations: 55.22 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.8021, allocations: 37.7 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8022, allocations: 326.8 kB / 1.217 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.8024, allocations: 67.97 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.8026, allocations: 99.2 kB / 1.217 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.8031, allocations: 148.1 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8031, allocations: 3.938 kB / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005383/0.8036, allocations: 213.3 kB / 1.217 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8036, allocations: 8 kB / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8036, allocations: 0 / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8037, allocations: 3.984 kB / 1.217 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.8039, allocations: 35.92 kB / 1.218 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8039, allocations: 4.031 kB / 1.218 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.8042, allocations: 31.81 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.8042, allocations: 4 kB / 1.218 GB, free: 3.148 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.000123/0.8043, allocations: 121.8 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.8044, allocations: 15.81 kB / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.8049, allocations: 201.9 kB / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.805, allocations: 7.984 kB / 1.218 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.805, allocations: 0 / 1.218 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.805, allocations: 0 / 1.218 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.8064, allocations: 0.9893 MB / 1.219 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8064, allocations: 0 / 1.219 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.8066, allocations: 35.91 kB / 1.219 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.8066, allocations: 4 kB / 1.219 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.8067, allocations: 0 / 1.219 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8067, allocations: 8.062 kB / 1.219 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8067, allocations: 3.984 kB / 1.219 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.8072, allocations: 289 kB / 1.219 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.8073, allocations: 89.02 kB / 1.219 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.8073, allocations: 8 kB / 1.219 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.8075, allocations: 15.92 kB / 1.219 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.8076, allocations: 11.92 kB / 1.219 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.8076, allocations: 11.98 kB / 1.219 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.8077, allocations: 117.7 kB / 1.219 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8077, allocations: 0 / 1.219 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004607/0.8082, allocations: 135.7 kB / 1.22 GB, free: 0.8867 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.0004125/0.8086, allocations: 227 kB / 1.22 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.8091, allocations: 179.8 kB / 1.22 GB, free: 492 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8091, allocations: 0 / 1.22 GB, free: 492 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.8093, allocations: 79.91 kB / 1.22 GB, free: 412 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.8097, allocations: 42.39 kB / 1.22 GB, free: 372 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.8104, allocations: 320.6 kB / 1.22 GB, free: 20 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.8107, allocations: 0.7086 MB / 1.221 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.8108, allocations: 28.92 kB / 1.221 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.8109, allocations: 19.44 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.8109, allocations: 0 / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of Templates: time 0.007865/0.8188, allocations: 4.294 MB / 1.225 GB, free: 11 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches