Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001645/0.001645, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 67.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5789, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002999/0.582, allocations: 2.031 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.5842, allocations: 1.663 MB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.5843, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.5844, allocations: 19.78 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.727e-05/0.5845, allocations: 47.56 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.5854, allocations: 362.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.5857, allocations: 219.1 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.5858, allocations: 45.47 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.5859, allocations: 83.83 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.5861, allocations: 87.67 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.5861, allocations: 16 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007332/0.5868, allocations: 399.5 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.5869, allocations: 43.83 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.587, allocations: 87.66 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.5875, allocations: 425 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5875, allocations: 4 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5876, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5876, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 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.0007741/0.5883, allocations: 0.5186 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.5884, allocations: 11.98 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.589, allocations: 96.58 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5892, allocations: 180.1 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.597e-05/0.5892, allocations: 50.25 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5893, allocations: 12.38 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.5897, allocations: 183.3 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5897, allocations: 7.922 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.5897, allocations: 4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5898, allocations: 4 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.5902, allocations: 187.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.5916, allocations: 0.9072 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.5921, allocations: 174.5 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.5923, allocations: 77.08 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.593, allocations: 0.522 MB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.593, allocations: 34.56 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.593, allocations: 0 / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007383/0.5938, allocations: 234.6 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5938, allocations: 55.41 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.594, allocations: 164 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.594, allocations: 29.7 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.5941, allocations: 115.8 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.5941, allocations: 51.28 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.5942, allocations: 37.7 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5943, allocations: 326.8 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.5945, allocations: 71.97 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.5948, allocations: 97.66 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.5952, allocations: 147.1 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5952, allocations: 7.875 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005252/0.5957, allocations: 215 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5957, allocations: 4 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5958, allocations: 0 / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.5958, allocations: 4 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.596, allocations: 43.97 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5961, allocations: 0 / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.5963, allocations: 23.73 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.5963, allocations: 16.02 kB / 1.027 GB, free: 7.977 MB / 0.7794 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.0001158/0.5964, allocations: 129.7 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.5965, allocations: 11.91 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.597, allocations: 198.3 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.597, allocations: 4 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.597, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.597, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.5985, allocations: 0.9893 MB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5985, allocations: 0 / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.5987, allocations: 31.97 kB / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.5987, allocations: 0 / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5988, allocations: 4 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5988, allocations: 0 / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5988, allocations: 0 / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.5993, allocations: 304.9 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.5994, allocations: 89 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5994, allocations: 4 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5996, allocations: 11.98 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.5997, allocations: 19.92 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.5997, allocations: 4 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.126e-05/0.5998, allocations: 120.9 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5998, allocations: 0 / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004491/0.6002, allocations: 127.9 kB / 1.029 GB, free: 5.742 MB / 0.7794 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.0004274/0.6007, allocations: 234.9 kB / 1.029 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.6012, allocations: 183.8 kB / 1.029 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6012, allocations: 4.062 kB / 1.029 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6014, allocations: 79.91 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.6019, allocations: 46.36 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.6027, allocations: 342.8 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.6029, allocations: 0.7125 MB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.6031, allocations: 23.3 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.6032, allocations: 19.44 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6032, allocations: 0 / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of Templates: time 0.007837/0.611, allocations: 4.27 MB / 1.035 GB, free: 15.84 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches