Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.098/3.098, allocations: 0.49 GB / 0.7916 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 69.67 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 176.1 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.005617/0.331, allocations: 2.053 MB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005216/0.3362, allocations: 1.69 MB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.3364, allocations: 4 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.3365, allocations: 19.78 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3369, allocations: 43.56 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.3391, allocations: 366.8 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.3396, allocations: 219.1 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.3399, allocations: 41.75 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.3401, allocations: 75.78 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.3405, allocations: 91.66 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.3405, allocations: 20 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.3422, allocations: 423.5 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.3423, allocations: 43.89 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.3425, allocations: 87.66 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3437, allocations: 438.5 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3437, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3437, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3437, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 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.001416/0.3451, allocations: 0.5217 MB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.3452, allocations: 19.98 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.797e-05/0.3453, allocations: 50.73 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.3463, allocations: 92.73 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.3465, allocations: 184.2 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.3466, allocations: 46.25 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.3467, allocations: 16.38 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.3475, allocations: 185.7 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3475, allocations: 0 / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.3475, allocations: 8 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3475, allocations: 7.938 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/0.3484, allocations: 179.9 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.3508, allocations: 0.9074 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/0.3517, allocations: 162.5 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.3521, allocations: 72.81 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.3534, allocations: 0.5181 MB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.3534, allocations: 34.56 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 2.686e-06/0.3534, allocations: 4 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001366/0.3548, allocations: 225.5 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.3549, allocations: 59.39 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3551, allocations: 165.2 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.3552, allocations: 25.7 kB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3553, allocations: 131.8 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.3554, allocations: 43.64 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3555, allocations: 37.7 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.3557, allocations: 322.8 kB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.3562, allocations: 79.91 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.3566, allocations: 93.67 kB / 1.33 GB, free: 9.121 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.3573, allocations: 152.8 kB / 1.33 GB, free: 8.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3573, allocations: 0 / 1.33 GB, free: 8.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001025/0.3584, allocations: 221.5 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3584, allocations: 4 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3584, allocations: 0 / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3584, allocations: 3.938 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.3589, allocations: 39.91 kB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3589, allocations: 4 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.3592, allocations: 31.8 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3593, allocations: 8 kB / 1.331 GB, free: 8.656 MB / 1.029 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.0001999/0.3595, allocations: 125.8 kB / 1.331 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.3596, allocations: 7.953 kB / 1.331 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.3605, allocations: 209.5 kB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3605, allocations: 4 kB / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3605, allocations: 0 / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3605, allocations: 0 / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.3633, allocations: 0.9856 MB / 1.332 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3633, allocations: 0 / 1.332 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.3637, allocations: 31.92 kB / 1.332 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3637, allocations: 0 / 1.332 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3638, allocations: 11.98 kB / 1.332 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3638, allocations: 0 / 1.332 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3638, allocations: 0 / 1.332 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.3647, allocations: 289.1 kB / 1.332 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3648, allocations: 96.95 kB / 1.332 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.3649, allocations: 4 kB / 1.332 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.3653, allocations: 23.97 kB / 1.332 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.3654, allocations: 15.86 kB / 1.332 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.3654, allocations: 7.938 kB / 1.332 GB, free: 6.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001665/0.3656, allocations: 121.1 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3656, allocations: 0 / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008544/0.3664, allocations: 131.6 kB / 1.333 GB, free: 6.402 MB / 1.029 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.001962/0.3684, allocations: 0.9401 MB / 1.334 GB, free: 5.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008313/0.3692, allocations: 169.7 kB / 1.334 GB, free: 5.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3692, allocations: 0 / 1.334 GB, free: 5.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.3696, allocations: 83.89 kB / 1.334 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3703, allocations: 47.84 kB / 1.334 GB, free: 5.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.3755, allocations: 2.059 MB / 1.336 GB, free: 2.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.376, allocations: 0.7047 MB / 1.337 GB, free: 2.242 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002607/0.3763, allocations: 32.5 kB / 1.337 GB, free: 2.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3764, allocations: 43.36 kB / 1.337 GB, free: 2.168 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3764, allocations: 0 / 1.337 GB, free: 2.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.4187, allocations: 6.133 MB / 1.343 GB, free: 12.22 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.656, allocations: 14.3 kB / 1.343 GB, free: 12.21 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable com.pDis in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pDis from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable com.pSuc in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pSuc from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloEva.Q_flow in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloEva.Q_flow from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloCon.Q_flow in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloCon.Q_flow from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.162892061984167]