Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.008466/0.008466, allocations: 103.1 kB / 15.73 MB, free: 6.496 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.00186/0.00186, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 58.06 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2522, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003194/0.2554, allocations: 2.02 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.2578, allocations: 1.667 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.2579, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.724e-05/0.258, allocations: 15.86 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2582, allocations: 51.55 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2593, allocations: 354.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.2596, allocations: 231.1 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2598, allocations: 53.45 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2599, allocations: 79.78 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.2601, allocations: 91.66 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.2601, allocations: 20 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008087/0.2609, allocations: 415.5 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.261, allocations: 39.89 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.2611, allocations: 87.66 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.2617, allocations: 426.6 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2617, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2617, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2617, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 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.0008262/0.2626, allocations: 0.5147 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2626, allocations: 12.03 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.2627, allocations: 50.73 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000587/0.2633, allocations: 88.73 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2634, allocations: 184 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.2635, allocations: 50.25 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.2635, allocations: 12.38 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.264, allocations: 181.9 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.264, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.264, allocations: 8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.264, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.2648, allocations: 183.7 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.2669, allocations: 0.9149 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.2677, allocations: 178.5 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.2681, allocations: 80.77 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009697/0.2691, allocations: 0.522 MB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2691, allocations: 34.56 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.856e-06/0.2691, allocations: 0 / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0008518/0.27, allocations: 239.7 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.27, allocations: 55.41 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.2703, allocations: 160.1 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.2703, allocations: 29.7 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.2704, allocations: 115.8 kB / 1.096 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.2705, allocations: 51.3 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2706, allocations: 37.7 kB / 1.096 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2708, allocations: 322.8 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.2711, allocations: 79.89 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.2715, allocations: 93.66 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.272, allocations: 155.1 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.272, allocations: 0 / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005197/0.2725, allocations: 215.4 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2726, allocations: 9.562 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2726, allocations: 0 / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2726, allocations: 0 / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.2729, allocations: 35.97 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2729, allocations: 3.938 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2731, allocations: 31.86 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2731, allocations: 7.984 kB / 1.097 GB, free: 7.395 MB / 0.8575 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.0001131/0.2732, allocations: 121.8 kB / 1.097 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.2733, allocations: 15.81 kB / 1.097 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.2738, allocations: 200.6 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2738, allocations: 0 / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2739, allocations: 4 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2739, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.2761, allocations: 0.9817 MB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2761, allocations: 0 / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.2764, allocations: 31.97 kB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2765, allocations: 4 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2765, allocations: 0 / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/0.2765, allocations: 11.92 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2765, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.2773, allocations: 289.1 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.2774, allocations: 92.94 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.2775, allocations: 4 kB / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.2778, allocations: 15.98 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2779, allocations: 15.92 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2779, allocations: 12 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.857e-05/0.278, allocations: 116.9 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.472e-06/0.278, allocations: 4 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007423/0.2788, allocations: 131.7 kB / 1.099 GB, free: 5.156 MB / 0.8575 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.001695/0.2805, allocations: 0.937 MB / 1.1 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.2813, allocations: 187.4 kB / 1.1 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2813, allocations: 0 / 1.1 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.2816, allocations: 83.97 kB / 1.101 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.2822, allocations: 39.91 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.2863, allocations: 2.07 MB / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2867, allocations: 0.7086 MB / 1.103 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.2869, allocations: 33.41 kB / 1.103 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.2871, allocations: 43.42 kB / 1.103 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of SimCode: time 7.31e-07/0.2871, allocations: 0 / 1.103 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.3177, allocations: 6.049 MB / 1.109 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.942, allocations: 2.062 kB / 1.109 GB, free: 11.03 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches