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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005685/0.005685, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.001418/0.001418, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.337/2.337, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7301, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003093/0.7332, allocations: 2.03 MB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.7355, allocations: 1.663 MB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.7357, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.351e-05/0.7358, allocations: 27.72 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.7359, allocations: 43.67 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.737, allocations: 364.1 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.7372, allocations: 219 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.7374, allocations: 49.47 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.7375, allocations: 83.7 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.7377, allocations: 83.73 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.7377, allocations: 24 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.7385, allocations: 419.4 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.7385, allocations: 39.91 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.7386, allocations: 91.64 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.7393, allocations: 418.4 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7393, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7393, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7393, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 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.0008072/0.7401, allocations: 0.5257 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7402, allocations: 12.92 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.7402, allocations: 50.73 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005748/0.7408, allocations: 92.73 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7409, allocations: 180.2 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.741, allocations: 50.25 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.7411, allocations: 12.38 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.7415, allocations: 186.9 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7415, allocations: 4 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.7415, allocations: 8 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7415, allocations: 4 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.742, allocations: 179.9 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.7433, allocations: 0.9229 MB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.7438, allocations: 174.5 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.744, allocations: 72.83 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006097/0.7446, allocations: 0.522 MB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.7446, allocations: 42.5 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.7446, allocations: 0 / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0006908/0.7453, allocations: 238.6 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.7454, allocations: 51.41 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.7455, allocations: 165.1 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7456, allocations: 25.7 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.7456, allocations: 127.6 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.7457, allocations: 47.58 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.7457, allocations: 41.66 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.7458, allocations: 330.8 kB / 1.175 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.7461, allocations: 67.97 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.7463, allocations: 95.38 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.7466, allocations: 156.1 kB / 1.176 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7467, allocations: 3.938 kB / 1.176 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004941/0.7472, allocations: 209.5 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7472, allocations: 8 kB / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7472, allocations: 0 / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7472, allocations: 0 / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.7475, allocations: 43.94 kB / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7475, allocations: 0 / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.7477, allocations: 27.88 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.7477, allocations: 7.984 kB / 1.176 GB, free: 9.18 MB / 0.9044 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.0001083/0.7478, allocations: 121.8 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.7479, allocations: 19.84 kB / 1.176 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.7484, allocations: 199.9 kB / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7484, allocations: 4 kB / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7484, allocations: 0 / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7484, allocations: 0 / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.7497, allocations: 0.9817 MB / 1.177 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7497, allocations: 0 / 1.177 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.75, allocations: 31.91 kB / 1.177 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.75, allocations: 4.062 kB / 1.177 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.75, allocations: 8 kB / 1.177 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.75, allocations: 4 kB / 1.177 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.75, allocations: 0 / 1.177 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.7505, allocations: 289 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.7505, allocations: 97 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.7506, allocations: 4 kB / 1.178 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.7508, allocations: 15.98 kB / 1.178 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.7508, allocations: 11.92 kB / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.7509, allocations: 8 kB / 1.178 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.734e-05/0.7509, allocations: 121.9 kB / 1.178 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.751, allocations: 0 / 1.178 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000444/0.7514, allocations: 131.6 kB / 1.178 GB, free: 6.941 MB / 0.9044 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.001039/0.7525, allocations: 0.9495 MB / 1.179 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.7529, allocations: 182.2 kB / 1.179 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7529, allocations: 3.938 kB / 1.179 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.7531, allocations: 79.91 kB / 1.179 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.7536, allocations: 48.97 kB / 1.179 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.7562, allocations: 2.086 MB / 1.181 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7565, allocations: 0.7125 MB / 1.182 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000149/0.7566, allocations: 32.91 kB / 1.182 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.7567, allocations: 39.42 kB / 1.182 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.7567, allocations: 0 / 1.182 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.7798, allocations: 6.042 MB / 1.188 GB, free: 12.81 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.457, allocations: 26.56 kB / 1.188 GB, free: 12.79 MB / 0.92 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/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