Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.00176/0.00176, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00127/0.00127, allocations: 189.5 kB / 16.25 MB, free: 6.621 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.721/1.721, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 66.59 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2721, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003782/0.2759, allocations: 2.318 MB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2775, allocations: 0.9326 MB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.2778, allocations: 0 / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.2784, allocations: 183.3 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.2787, allocations: 59.58 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2791, allocations: 99.83 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.2795, allocations: 227.1 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.2797, allocations: 85.69 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2798, allocations: 83.53 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2799, allocations: 115.3 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.28, allocations: 20 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.2803, allocations: 155.8 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.2805, allocations: 203.4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.2807, allocations: 266 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.2814, allocations: 0.7082 MB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2814, allocations: 0 / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2814, allocations: 3.984 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.2814, allocations: 0 / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001467/0.2829, allocations: 0.9723 MB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2829, allocations: 12.62 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.283, allocations: 46.73 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.2836, allocations: 115.8 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.2844, allocations: 0.5896 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2844, allocations: 12.38 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.2845, allocations: 8.375 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2849, allocations: 198.7 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2849, allocations: 3.938 kB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2849, allocations: 4 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2849, allocations: 4 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.2854, allocations: 235.8 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2867, allocations: 0.91 MB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.2873, allocations: 318.4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2876, allocations: 112.8 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.2882, allocations: 244.9 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2883, allocations: 34.56 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.916e-06/0.2883, allocations: 7.984 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008035/0.2891, allocations: 400.5 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2891, allocations: 51.41 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.2904, allocations: 1.001 MB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2904, allocations: 25.7 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.2907, allocations: 347.9 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.2907, allocations: 27.64 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.2908, allocations: 29.61 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2909, allocations: 310 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2911, allocations: 99.95 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2913, allocations: 118.5 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.2917, allocations: 218.4 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2918, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000572/0.2923, allocations: 328.9 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2924, allocations: 4 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2924, allocations: 0 / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2924, allocations: 0 / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2926, allocations: 28.06 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2926, allocations: 3.938 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2928, allocations: 12 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2928, allocations: 7.984 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002439/0.293, allocations: 255.2 kB / 1.065 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2931, allocations: 75 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/0.2938, allocations: 332.4 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2938, allocations: 0 / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2938, allocations: 0 / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2938, allocations: 3.938 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.2944, allocations: 0.5323 MB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2944, allocations: 4 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2945, allocations: 23.97 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2945, allocations: 0 / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2946, allocations: 4 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2946, allocations: 0 / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2946, allocations: 0 / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.2951, allocations: 410.4 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.2953, allocations: 176.1 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.2954, allocations: 8 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2956, allocations: 0 / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2956, allocations: 7.984 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2957, allocations: 4 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008805/0.2965, allocations: 0.7254 MB / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2965, allocations: 0 / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003602/0.2969, allocations: 71.84 kB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0009565/0.2979, allocations: 0.9575 MB / 1.068 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.2984, allocations: 219.8 kB / 1.068 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2984, allocations: 4.125 kB / 1.068 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2986, allocations: 111.9 kB / 1.068 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.299, allocations: 43.31 kB / 1.068 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.3085, allocations: 6.763 MB / 1.075 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.309, allocations: 0.9486 MB / 1.076 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.3093, allocations: 81.27 kB / 1.076 GB, free: 180 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.3096, allocations: 223.4 kB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3096, allocations: 0 / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.28/3.59, allocations: 11.49 MB / 1.087 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/3.59, allocations: 226 kB / 1.087 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/6.321, allocations: 0 / 1.087 GB, free: 4.406 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches