Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001571/0.001571, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.58 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2826, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004041/0.2867, allocations: 2.781 MB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.2885, allocations: 1.081 MB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.2888, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.2895, allocations: 207.1 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2898, allocations: 63.56 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.2903, allocations: 147.8 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.2908, allocations: 383.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.2911, allocations: 205.8 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2913, allocations: 135.2 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2915, allocations: 179 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.2915, allocations: 20 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.2918, allocations: 151.8 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.292, allocations: 239.2 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.2923, allocations: 333.6 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.2931, allocations: 0.9183 MB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2931, allocations: 0 / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2931, allocations: 4 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.2931, allocations: 0 / 1.059 GB, free: 1.336 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001398/0.2945, allocations: 1.127 MB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2946, allocations: 11.97 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.2946, allocations: 66.73 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.2959, allocations: 239.5 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.2971, allocations: 0.7228 MB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2972, allocations: 21.03 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.2972, allocations: 32.38 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.298, allocations: 386.3 kB / 1.061 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.298, allocations: 3.984 kB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.298, allocations: 12 kB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.2981, allocations: 8 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009416/0.299, allocations: 422.3 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.3019, allocations: 1.791 MB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3026, allocations: 218.6 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3029, allocations: 96.81 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.3029, allocations: 7.984 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3029, allocations: 46.45 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.3029, allocations: 0 / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0009913/0.3039, allocations: 367.1 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.304, allocations: 55.36 kB / 1.064 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.3053, allocations: 1.251 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.3054, allocations: 29.7 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.3057, allocations: 424.2 kB / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.3058, allocations: 75.3 kB / 1.066 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.3059, allocations: 49.7 kB / 1.066 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.306, allocations: 314 kB / 1.066 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.3063, allocations: 147.9 kB / 1.067 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.3067, allocations: 206.4 kB / 1.067 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.3073, allocations: 271.5 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3073, allocations: 4 kB / 1.067 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008482/0.3081, allocations: 469.2 kB / 1.067 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3081, allocations: 4 kB / 1.067 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3082, allocations: 12.09 kB / 1.067 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3082, allocations: 0 / 1.067 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.3085, allocations: 59.89 kB / 1.068 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3085, allocations: 8 kB / 1.068 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.3088, allocations: 39.61 kB / 1.068 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3088, allocations: 8 kB / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002754/0.3091, allocations: 281.7 kB / 1.068 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.3092, allocations: 82.88 kB / 1.068 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007969/0.31, allocations: 325.7 kB / 1.068 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.31, allocations: 4 kB / 1.068 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.31, allocations: 0 / 1.068 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3101, allocations: 0 / 1.068 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.3116, allocations: 1.003 MB / 1.069 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3116, allocations: 4 kB / 1.069 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.3118, allocations: 47.84 kB / 1.069 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3118, allocations: 4 kB / 1.069 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3119, allocations: 4 kB / 1.069 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3119, allocations: 4 kB / 1.069 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3119, allocations: 4.062 kB / 1.069 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.3126, allocations: 437 kB / 1.07 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.3128, allocations: 211.9 kB / 1.07 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.3129, allocations: 8 kB / 1.07 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.3132, allocations: 15.98 kB / 1.07 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.3132, allocations: 19.92 kB / 1.07 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3132, allocations: 7.984 kB / 1.07 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009402/0.3142, allocations: 0.9066 MB / 1.071 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3142, allocations: 0 / 1.071 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004031/0.3146, allocations: 103.8 kB / 1.071 GB, free: 4.477 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001075/0.3157, allocations: 0.9991 MB / 1.072 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006795/0.3164, allocations: 278.5 kB / 1.072 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3164, allocations: 0 / 1.072 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.3167, allocations: 99.83 kB / 1.072 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.3172, allocations: 79.3 kB / 1.072 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3278, allocations: 7.802 MB / 1.08 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.3283, allocations: 0.9911 MB / 1.081 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003341/0.3286, allocations: 100.7 kB / 1.081 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.329, allocations: 299.3 kB / 1.081 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.329, allocations: 0 / 1.081 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4022/0.7312, allocations: 13.14 MB / 1.094 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003635/0.7316, allocations: 229.8 kB / 1.094 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.609, allocations: 0 / 1.094 GB, free: 12.32 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches