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.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.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.001226/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.61 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2771, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003752/0.2809, allocations: 2.31 MB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2825, allocations: 0.9599 MB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.2826, allocations: 0 / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.2833, allocations: 195.1 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.2835, allocations: 59.62 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.2838, allocations: 87.84 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.2841, allocations: 211.1 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2843, allocations: 77.7 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.2844, allocations: 87.52 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2845, allocations: 103.4 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.2846, allocations: 12 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.2849, allocations: 143.8 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2851, allocations: 207.3 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.2853, allocations: 250.1 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.2859, allocations: 0.7004 MB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2859, allocations: 0 / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2859, allocations: 0 / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.2859, allocations: 0 / 1.057 GB, free: 2.805 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.001295/0.2872, allocations: 0.9669 MB / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2873, allocations: 15.97 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.2873, allocations: 46.73 kB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.2879, allocations: 119.8 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.2887, allocations: 0.5856 MB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2887, allocations: 12.38 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2887, allocations: 12.38 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.2891, allocations: 202.1 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2891, allocations: 3.938 kB / 1.059 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2891, allocations: 11.92 kB / 1.059 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.2892, allocations: 4 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.2896, allocations: 224.4 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2907, allocations: 0.9139 MB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.2913, allocations: 314.4 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2915, allocations: 108.9 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.2921, allocations: 241 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2922, allocations: 34.56 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.2922, allocations: 0 / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007402/0.2929, allocations: 404.8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.293, allocations: 51.5 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2941, allocations: 1.001 MB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2941, allocations: 25.7 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.2944, allocations: 347.9 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.2944, allocations: 27.64 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.2945, allocations: 37.61 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.2946, allocations: 306 kB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2948, allocations: 95.95 kB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.295, allocations: 130.5 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.2953, allocations: 210.4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2954, allocations: 0 / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005258/0.2959, allocations: 328.5 kB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2959, allocations: 4.781 kB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2959, allocations: 0 / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2959, allocations: 4 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2961, allocations: 35.97 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2961, allocations: 3.938 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2963, allocations: 8 kB / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2963, allocations: 7.984 kB / 1.064 GB, free: 11.75 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.0002287/0.2965, allocations: 245.8 kB / 1.064 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.2966, allocations: 75 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.2972, allocations: 332.5 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2972, allocations: 96 / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2972, allocations: 3.938 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2972, allocations: 3.984 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.2977, allocations: 0.5323 MB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2977, allocations: 3.984 kB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.2979, allocations: 23.98 kB / 1.065 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2979, allocations: 0 / 1.065 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2979, allocations: 4 kB / 1.065 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2979, allocations: 4 kB / 1.065 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2979, allocations: 0 / 1.065 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.2984, allocations: 402.4 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.2986, allocations: 180.1 kB / 1.066 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.2987, allocations: 8 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2989, allocations: 3.984 kB / 1.066 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2989, allocations: 8 kB / 1.066 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2989, allocations: 4 kB / 1.066 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008062/0.2997, allocations: 0.7214 MB / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2997, allocations: 0 / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003301/0.3001, allocations: 75.84 kB / 1.067 GB, free: 9.051 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.0008516/0.3009, allocations: 0.9497 MB / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.3014, allocations: 216 kB / 1.068 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3014, allocations: 192 / 1.068 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.3016, allocations: 115.8 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.302, allocations: 57.91 kB / 1.068 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/0.3105, allocations: 6.761 MB / 1.075 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.311, allocations: 0.9488 MB / 1.075 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000216/0.3113, allocations: 77.33 kB / 1.076 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.3115, allocations: 215.4 kB / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of SimCode: time 1.663e-06/0.3115, allocations: 0 / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3785/0.6901, allocations: 11.33 MB / 1.087 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.6904, allocations: 227.8 kB / 1.087 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.45, allocations: 0 / 1.087 GB, free: 4.168 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