Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_ZeroInput,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_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_latest_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.001353/0.001353, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001376/0.001376, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 8 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5748/0.5752, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002045/0.5773, allocations: 1.621 MB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.5794, allocations: 1.488 MB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.5795, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.5795, allocations: 7.922 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.5797, allocations: 55.86 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.5805, allocations: 263.3 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.5807, allocations: 147.7 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.5809, allocations: 37.66 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.581, allocations: 67.77 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.5811, allocations: 79.73 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.5812, allocations: 16 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007491/0.5819, allocations: 379.5 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.582, allocations: 35.89 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.582, allocations: 53.64 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.5825, allocations: 309.2 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.5825, allocations: 0 / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5825, allocations: 4 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.5825, allocations: 0 / 1.025 GB, free: 12.51 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.0007529/0.5833, allocations: 0.495 MB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5833, allocations: 8.031 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.5839, allocations: 99.7 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.584, allocations: 171 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/0.5841, allocations: 53.69 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.5842, allocations: 23.95 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.5846, allocations: 181.5 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5846, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.5846, allocations: 12 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5847, allocations: 4 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.5851, allocations: 191.7 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.5865, allocations: 0.915 MB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.587, allocations: 182.6 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/0.5876, allocations: 0.5142 MB / 1.028 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5877, allocations: 38.55 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.5877, allocations: 0 / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.00073/0.5884, allocations: 252.7 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.5885, allocations: 55.41 kB / 1.028 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.5886, allocations: 160 kB / 1.028 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.5887, allocations: 33.7 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.5887, allocations: 111.8 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.5888, allocations: 51.3 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.5888, allocations: 4 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5889, allocations: 326.8 kB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.5891, allocations: 79.89 kB / 1.029 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5894, allocations: 103.4 kB / 1.029 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.5896, allocations: 67.97 kB / 1.029 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5896, allocations: 0 / 1.029 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005079/0.5901, allocations: 223 kB / 1.029 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5901, allocations: 8 kB / 1.029 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5901, allocations: 0 / 1.029 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5901, allocations: 0 / 1.029 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.5904, allocations: 47.94 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5904, allocations: 0 / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5906, allocations: 31.69 kB / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.5906, allocations: 11.98 kB / 1.03 GB, free: 7.699 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/0.5908, allocations: 117.8 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.5908, allocations: 11.91 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.5913, allocations: 210.4 kB / 1.03 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5914, allocations: 0 / 1.03 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5914, allocations: 0 / 1.03 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5914, allocations: 0 / 1.03 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.5928, allocations: 0.9934 MB / 1.031 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5928, allocations: 0 / 1.031 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.593, allocations: 31.97 kB / 1.031 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.593, allocations: 3.938 kB / 1.031 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5931, allocations: 8 kB / 1.031 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5931, allocations: 3.953 kB / 1.031 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5931, allocations: 4 kB / 1.031 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.5936, allocations: 316.5 kB / 1.031 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.5937, allocations: 101 kB / 1.031 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.5937, allocations: 3.938 kB / 1.031 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.5939, allocations: 23.97 kB / 1.031 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.594, allocations: 7.984 kB / 1.031 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.594, allocations: 11.94 kB / 1.031 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.534e-05/0.5941, allocations: 117.9 kB / 1.031 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5941, allocations: 4 kB / 1.031 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004524/0.5946, allocations: 131.8 kB / 1.032 GB, free: 5.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/0.595, allocations: 231 kB / 1.032 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.5955, allocations: 177.9 kB / 1.032 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5955, allocations: 0 / 1.032 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.5957, allocations: 92.08 kB / 1.032 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.596, allocations: 39.92 kB / 1.032 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.5968, allocations: 388.4 kB / 1.032 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.5971, allocations: 0.7128 MB / 1.033 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00016/0.5972, allocations: 22.42 kB / 1.033 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.5973, allocations: 27.38 kB / 1.033 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5973, allocations: 4 kB / 1.033 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of Templates: time 0.007492/0.6048, allocations: 4.055 MB / 1.037 GB, free: 15.68 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches