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.001728/0.001728, allocations: 104.5 kB / 16.41 MB, free: 6.465 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.001997/0.001997, allocations: 189.8 kB / 17.34 MB, free: 5.719 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.166/2.166, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8755, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003179/0.8787, allocations: 2.037 MB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.8811, allocations: 1.66 MB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.8812, allocations: 2.688 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.621e-05/0.8812, allocations: 19.28 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.8814, allocations: 48.03 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.8825, allocations: 359.1 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.8829, allocations: 219.1 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.8831, allocations: 52.72 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.8833, allocations: 94.16 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.8835, allocations: 87.5 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.8836, allocations: 18.62 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.8847, allocations: 410.5 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.8847, allocations: 42.05 kB / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.8849, allocations: 89.38 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008884/0.8857, allocations: 423.5 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8858, allocations: 7.938 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8858, allocations: 0 / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8858, allocations: 2.438 kB / 1.094 GB, free: 2.121 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.0008615/0.8867, allocations: 0.5092 MB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.8867, allocations: 9.406 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.8873, allocations: 90.34 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.8874, allocations: 177.6 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.8875, allocations: 45.33 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.8875, allocations: 14.59 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.888, allocations: 188.5 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.888, allocations: 4.812 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.888, allocations: 5.625 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.888, allocations: 4.109 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.8885, allocations: 183 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.8899, allocations: 0.9095 MB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.8904, allocations: 175.7 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.8907, allocations: 82.91 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/0.8913, allocations: 0.5191 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.8913, allocations: 37.38 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.8914, allocations: 4 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007851/0.8921, allocations: 246.4 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.8922, allocations: 53.06 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.8924, allocations: 156.3 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.8924, allocations: 32.7 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.8925, allocations: 122.2 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.8926, allocations: 44.73 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.8927, allocations: 40.11 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8928, allocations: 320.9 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.893, allocations: 75.42 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.8933, allocations: 93.56 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.8937, allocations: 152.1 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.8937, allocations: 7.938 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005708/0.8943, allocations: 215.5 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.8943, allocations: 6.078 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8943, allocations: 4.031 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.8943, allocations: 2.156 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.8946, allocations: 38.83 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8946, allocations: 2.891 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.8948, allocations: 24.55 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.8949, allocations: 5.172 kB / 1.098 GB, free: 14.62 MB / 0.8731 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.0001275/0.895, allocations: 128.9 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.8951, allocations: 14.69 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005761/0.8956, allocations: 201.5 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.8957, allocations: 2.562 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.8957, allocations: 0 / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8957, allocations: 5.547 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.8972, allocations: 0.975 MB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8973, allocations: 5.094 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.8975, allocations: 32.03 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.8975, allocations: 1.469 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.8975, allocations: 3.109 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8975, allocations: 2.312 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8975, allocations: 0.8438 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.898, allocations: 290.5 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.8981, allocations: 86.66 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.8982, allocations: 10.77 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.8984, allocations: 16.08 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.8984, allocations: 17.59 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.8984, allocations: 9.516 kB / 1.1 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001054/0.8985, allocations: 117.1 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8986, allocations: 0 / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005943/0.8992, allocations: 130.2 kB / 1.1 GB, free: 13.03 MB / 0.8731 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.0004886/0.8996, allocations: 225.8 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.9002, allocations: 176.3 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9002, allocations: 0 / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.9004, allocations: 86.84 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.9009, allocations: 46.95 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.9017, allocations: 366.4 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.902, allocations: 0.7112 MB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.9021, allocations: 21.03 kB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of SimCode: time 4.2e-07/0.9021, allocations: 0 / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.008083/0.9102, allocations: 3.883 MB / 1.106 GB, free: 11.41 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/jenkins1/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