Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_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.007779/0.007779, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001901/0.001901, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.83 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 159.1 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003267/0.3242, allocations: 2.025 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.3267, allocations: 1.662 MB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.3268, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.21e-05/0.3269, allocations: 23.78 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3271, allocations: 47.56 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.3281, allocations: 354.8 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.3283, allocations: 215.2 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3285, allocations: 53.47 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3286, allocations: 79.72 kB / 1.225 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3288, allocations: 87.73 kB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.3288, allocations: 16 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.3296, allocations: 415.5 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.3297, allocations: 47.84 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.3298, allocations: 87.64 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3304, allocations: 430.7 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3304, allocations: 0 / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3304, allocations: 0 / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3304, allocations: 0 / 1.226 GB, free: 8.684 MB / 0.9825 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.0008126/0.3312, allocations: 0.5256 MB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3313, allocations: 8.031 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.3313, allocations: 58.73 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.3319, allocations: 88.67 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3321, allocations: 180.2 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/0.3321, allocations: 50.25 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3322, allocations: 16.38 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.3326, allocations: 186.6 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3326, allocations: 3.984 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.3327, allocations: 8 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3327, allocations: 0 / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.3331, allocations: 187.9 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.3346, allocations: 0.9229 MB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.3351, allocations: 174.5 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3353, allocations: 72.83 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.336, allocations: 0.5181 MB / 1.228 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3361, allocations: 38.56 kB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.3361, allocations: 0 / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007218/0.3368, allocations: 233.7 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3369, allocations: 59.34 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.337, allocations: 164.9 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3371, allocations: 29.7 kB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.3372, allocations: 115.9 kB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.3372, allocations: 55.53 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.3373, allocations: 33.7 kB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3374, allocations: 326.8 kB / 1.229 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.3376, allocations: 71.95 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3379, allocations: 97.66 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.3383, allocations: 147.2 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3383, allocations: 0 / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005136/0.3388, allocations: 223.7 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3388, allocations: 4 kB / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.3389, allocations: 3.984 kB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3389, allocations: 4 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3391, allocations: 39.91 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3391, allocations: 0 / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3393, allocations: 19.88 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3394, allocations: 16.02 kB / 1.23 GB, free: 3.621 MB / 0.9825 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.0001155/0.3395, allocations: 126.3 kB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.3395, allocations: 15.91 kB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.3401, allocations: 205.5 kB / 1.23 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3401, allocations: 4 kB / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3401, allocations: 0 / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3401, allocations: 0 / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.3416, allocations: 0.9817 MB / 1.231 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3416, allocations: 4 kB / 1.231 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3418, allocations: 31.91 kB / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3418, allocations: 0 / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3418, allocations: 8 kB / 1.231 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3419, allocations: 0 / 1.231 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3419, allocations: 4 kB / 1.231 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.3424, allocations: 285.2 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3425, allocations: 101 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.3425, allocations: 3.938 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3427, allocations: 19.98 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.3428, allocations: 15.92 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3428, allocations: 4 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.483e-05/0.3429, allocations: 116.3 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 0 / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004559/0.3433, allocations: 131.6 kB / 1.232 GB, free: 1.375 MB / 0.9825 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.001166/0.3445, allocations: 0.9556 MB / 1.233 GB, free: 396 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.345, allocations: 179.8 kB / 1.233 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3451, allocations: 0 / 1.233 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.3453, allocations: 84.09 kB / 1.233 GB, free: 132 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3457, allocations: 43.89 kB / 1.233 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.3488, allocations: 2.076 MB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3491, allocations: 0.7164 MB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.3493, allocations: 27.83 kB / 1.236 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3494, allocations: 43.42 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of SimCode: time 1.011e-06/0.3494, allocations: 0 / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.377, allocations: 6.069 MB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.43, allocations: 7.75 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches