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.006502/0.006502, allocations: 99.59 kB / 15.73 MB, free: 6.035 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.001171/0.001171, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.494/2.494, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2757, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003327/0.279, allocations: 2.024 MB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2815, allocations: 1.667 MB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.2817, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.102e-05/0.2818, allocations: 19.84 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2819, allocations: 47.55 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2831, allocations: 362.8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.2834, allocations: 223 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2836, allocations: 47.36 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.2837, allocations: 75.83 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.2839, allocations: 91.67 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.2839, allocations: 23.94 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.2848, allocations: 415.5 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.2849, allocations: 35.91 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.285, allocations: 91.64 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.2858, allocations: 434.8 kB / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2858, allocations: 0 / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2858, allocations: 0 / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.2859, allocations: 0 / 1.172 GB, free: 1.746 MB / 0.92 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.0008972/0.2868, allocations: 0.5235 MB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2868, allocations: 12.03 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.294e-05/0.2869, allocations: 50.73 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.2874, allocations: 92.73 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2876, allocations: 180.2 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/0.2877, allocations: 50.25 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.2877, allocations: 12.38 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.2881, allocations: 190.9 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2882, allocations: 0 / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2882, allocations: 8 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2882, allocations: 7.938 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.2886, allocations: 183.8 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.2901, allocations: 0.9227 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.2906, allocations: 166.5 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2908, allocations: 76.83 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.2914, allocations: 0.522 MB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2915, allocations: 38.55 kB / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.2915, allocations: 0 / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006915/0.2922, allocations: 233.8 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2922, allocations: 51.41 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2924, allocations: 163.9 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.2924, allocations: 25.7 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.2925, allocations: 123.9 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.2926, allocations: 43.58 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.2926, allocations: 49.59 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2928, allocations: 326.8 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.293, allocations: 71.95 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2932, allocations: 97.67 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.2936, allocations: 147.7 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2936, allocations: 3.938 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004973/0.2941, allocations: 216.2 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2941, allocations: 8 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2941, allocations: 3.984 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2942, allocations: 0 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.2944, allocations: 43.95 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.2944, allocations: 3.984 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.2946, allocations: 27.81 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.2947, allocations: 8 kB / 1.176 GB, free: 12.69 MB / 0.9356 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.0001159/0.2948, allocations: 121.8 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.2948, allocations: 15.91 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.2954, allocations: 198.4 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2954, allocations: 4 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2954, allocations: 0 / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2954, allocations: 0 / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.2969, allocations: 0.9817 MB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2969, allocations: 3.984 kB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.2971, allocations: 23.98 kB / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2971, allocations: 8.062 kB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2971, allocations: 3.938 kB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.2971, allocations: 7.984 kB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2971, allocations: 3.938 kB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.2977, allocations: 296.6 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.2977, allocations: 89.02 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.2978, allocations: 8 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.298, allocations: 11.98 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.298, allocations: 15.92 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.2981, allocations: 7.984 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.539e-05/0.2982, allocations: 124.8 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2982, allocations: 4 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004537/0.2986, allocations: 127.5 kB / 1.178 GB, free: 10.45 MB / 0.9356 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.001113/0.2997, allocations: 0.944 MB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004842/0.3002, allocations: 179.8 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3003, allocations: 4 kB / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3005, allocations: 83.89 kB / 1.179 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3009, allocations: 48.03 kB / 1.179 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.3038, allocations: 2.074 MB / 1.181 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3042, allocations: 0.7086 MB / 1.182 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.3043, allocations: 32.7 kB / 1.182 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3044, allocations: 39.42 kB / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3044, allocations: 0 / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.3294, allocations: 6.067 MB / 1.188 GB, free: 320 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.956, allocations: 20.31 kB / 1.188 GB, free: 304 kB / 0.9356 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