Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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") 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_10_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.001881/0.001881, allocations: 108 kB / 15.6 MB, free: 132 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.002121/0.002121, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.704/2.704, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.619/0.6212, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003451/0.6246, allocations: 2.027 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.6273, allocations: 1.659 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.6274, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.427e-05/0.6274, allocations: 19.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.6276, allocations: 55.55 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.6286, allocations: 358.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.6288, allocations: 219.2 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.629, allocations: 45.47 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.6291, allocations: 91.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.6293, allocations: 83.73 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.6293, allocations: 20 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008236/0.6302, allocations: 391.5 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.6302, allocations: 51.81 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.6304, allocations: 87.66 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.631, allocations: 421 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.631, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.631, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.631, allocations: 0 / 1.023 GB, free: 12.97 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.0009432/0.632, allocations: 0.5225 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.632, allocations: 8.031 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.6327, allocations: 92.64 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.6328, allocations: 180.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.841e-05/0.6329, allocations: 46.25 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.633, allocations: 20.38 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.6334, allocations: 175.3 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.6335, allocations: 11.81 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.6335, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6335, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.634, allocations: 187.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.6358, allocations: 0.9112 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.6364, allocations: 174.5 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.6366, allocations: 77.08 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007736/0.6374, allocations: 0.522 MB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.6374, allocations: 34.56 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.6374, allocations: 0 / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007732/0.6382, allocations: 233.5 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.6383, allocations: 59.34 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.6384, allocations: 161 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.6385, allocations: 29.7 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.6386, allocations: 119.8 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.6386, allocations: 47.3 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.6387, allocations: 37.7 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6389, allocations: 326.8 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.6391, allocations: 75.95 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.6394, allocations: 95.5 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.6398, allocations: 149.6 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6398, allocations: 3.938 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005385/0.6403, allocations: 211 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6404, allocations: 4 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6404, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6404, allocations: 4 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.6407, allocations: 43.91 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6407, allocations: 4.031 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.6409, allocations: 23.73 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.6409, allocations: 4 kB / 1.027 GB, free: 8 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.0001309/0.641, allocations: 133.8 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.6411, allocations: 11.91 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.6417, allocations: 199.6 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6417, allocations: 0 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6417, allocations: 7.984 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6417, allocations: 0 / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.6434, allocations: 0.9817 MB / 1.028 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6434, allocations: 4 kB / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.6436, allocations: 31.91 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6437, allocations: 0 / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.6437, allocations: 4.062 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6437, allocations: 7.938 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.6437, allocations: 4 kB / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.6443, allocations: 289 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.6443, allocations: 93 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.6444, allocations: 4 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.6446, allocations: 11.98 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6447, allocations: 23.86 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6447, allocations: 4 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001007/0.6448, allocations: 117.3 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6448, allocations: 0 / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004585/0.6453, allocations: 127.9 kB / 1.029 GB, free: 5.758 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.0004705/0.6457, allocations: 231 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.6463, allocations: 191.6 kB / 1.029 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6463, allocations: 4 kB / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.6465, allocations: 79.91 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.647, allocations: 46.38 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.6477, allocations: 328.7 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6481, allocations: 0.7125 MB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.6483, allocations: 26.66 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.6483, allocations: 23.44 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6483, allocations: 0 / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.008906/0.6573, allocations: 4.252 MB / 1.035 GB, free: 15.86 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches