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.001563/0.001563, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001964/0.001964, allocations: 194.6 kB / 16.14 MB, free: 6.645 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.576/1.576, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.505/2.505, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6083, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003191/0.6116, allocations: 2.082 MB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.6142, allocations: 1.749 MB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.6143, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.075e-05/0.6143, allocations: 19.84 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.6145, allocations: 39.67 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.6152, allocations: 295.2 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.6154, allocations: 219.1 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.6155, allocations: 33.48 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.6157, allocations: 71.84 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.6158, allocations: 87.66 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.6158, allocations: 12 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.6166, allocations: 387.5 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.6166, allocations: 43.83 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.6167, allocations: 79.66 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.6173, allocations: 413 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6173, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6173, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6173, allocations: 0 / 1.022 GB, free: 13.25 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.0007891/0.6181, allocations: 0.5186 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6182, allocations: 11.98 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.6188, allocations: 92.64 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.6189, allocations: 188 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.619, allocations: 50.25 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.619, allocations: 12.38 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.6195, allocations: 186.1 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6195, allocations: 3.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.6195, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6195, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.62, allocations: 188.9 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.6214, allocations: 0.9111 MB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.622, allocations: 174.5 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.6222, allocations: 80.81 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007696/0.623, allocations: 0.5181 MB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.623, allocations: 38.5 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.623, allocations: 0 / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007116/0.6237, allocations: 225.8 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.6238, allocations: 67.39 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.6239, allocations: 160 kB / 1.025 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6239, allocations: 29.7 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.624, allocations: 119.8 kB / 1.025 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.6241, allocations: 51.28 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.6241, allocations: 37.7 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6243, allocations: 322.8 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.6245, allocations: 75.95 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.6247, allocations: 93.67 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.6251, allocations: 147.3 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6251, allocations: 3.938 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005122/0.6256, allocations: 227 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6256, allocations: 4 kB / 1.026 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6257, allocations: 0 / 1.026 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6257, allocations: 4 kB / 1.026 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.626, allocations: 39.97 kB / 1.026 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.626, allocations: 3.984 kB / 1.026 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.6262, allocations: 19.83 kB / 1.026 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.6262, allocations: 12.03 kB / 1.026 GB, free: 8.254 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.000135/0.6263, allocations: 130.2 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.6264, allocations: 11.91 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/0.6269, allocations: 194.2 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6269, allocations: 4 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6269, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6269, allocations: 7.922 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.6284, allocations: 0.9855 MB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6284, allocations: 7.938 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6286, allocations: 23.98 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6286, allocations: 0 / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.6287, allocations: 7.984 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6287, allocations: 0 / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6287, allocations: 4 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.6292, allocations: 301 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.6292, allocations: 85.02 kB / 1.028 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.6293, allocations: 4 kB / 1.028 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.6295, allocations: 19.97 kB / 1.028 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.6295, allocations: 15.92 kB / 1.028 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.6296, allocations: 4 kB / 1.028 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.6296, allocations: 121.3 kB / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6296, allocations: 0 / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004607/0.6301, allocations: 127.9 kB / 1.028 GB, free: 6.016 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.0004518/0.6306, allocations: 227 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.6311, allocations: 179.7 kB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6311, allocations: 4.062 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.6313, allocations: 83.89 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.6317, allocations: 39.98 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.6325, allocations: 378.3 kB / 1.029 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.6328, allocations: 0.7128 MB / 1.03 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.6329, allocations: 29.23 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.633, allocations: 19.44 kB / 1.03 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.633, allocations: 4 kB / 1.03 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of Templates: time 0.008165/0.6412, allocations: 4.15 MB / 1.034 GB, free: 204 kB / 0.7794 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