Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_10_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.008323/0.008324, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002103/0.002103, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.419/1.419, 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 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2969, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003984/0.3009, allocations: 2.259 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3024, allocations: 0.9408 MB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.3025, allocations: 7.938 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.3031, allocations: 195.2 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3033, allocations: 71.44 kB / 1.17 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.3036, allocations: 111.7 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3039, allocations: 223 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.3041, allocations: 97.61 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3043, allocations: 83.59 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3044, allocations: 103.4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.3045, allocations: 16 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.3048, allocations: 155.8 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.305, allocations: 215.3 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.3052, allocations: 266 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008393/0.3061, allocations: 0.7231 MB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3061, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3061, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3061, allocations: 4 kB / 1.171 GB, free: 1.805 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001327/0.3075, allocations: 1.002 MB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3075, allocations: 8.031 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.3076, allocations: 42.73 kB / 1.173 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005169/0.3081, allocations: 124.3 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.3089, allocations: 0.6021 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3089, allocations: 8.375 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.309, allocations: 12.38 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.3094, allocations: 195.1 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3094, allocations: 7.875 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3094, allocations: 8 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3094, allocations: 3.984 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.3099, allocations: 231.9 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3112, allocations: 0.9139 MB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.3119, allocations: 314.4 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3121, allocations: 112.9 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/0.3129, allocations: 237 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3129, allocations: 30.56 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3129, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008623/0.3138, allocations: 409 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3139, allocations: 55.41 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3151, allocations: 0.9935 MB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3151, allocations: 25.7 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.3155, allocations: 352.1 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3155, allocations: 31.73 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.3156, allocations: 29.7 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3157, allocations: 306 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.316, allocations: 107.9 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3162, allocations: 126.5 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.3167, allocations: 214.4 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3167, allocations: 384 / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005913/0.3173, allocations: 328.9 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3173, allocations: 4 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3173, allocations: 0 / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3173, allocations: 8.062 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3175, allocations: 31.91 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3175, allocations: 4 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3177, allocations: 15.88 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3177, allocations: 7.984 kB / 1.178 GB, free: 10.69 MB / 0.9356 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.0002747/0.318, allocations: 245.7 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.3181, allocations: 79.47 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/0.3188, allocations: 336.4 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3188, allocations: 0 / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3188, allocations: 0 / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3188, allocations: 0 / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.3194, allocations: 0.5246 MB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3194, allocations: 0 / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.3196, allocations: 23.97 kB / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3196, allocations: 4 kB / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3196, allocations: 8 kB / 1.179 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3196, allocations: 0 / 1.179 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3196, allocations: 0 / 1.179 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.3202, allocations: 410.8 kB / 1.18 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.3205, allocations: 188.5 kB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.3205, allocations: 4 kB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3207, allocations: 7.984 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3208, allocations: 8.219 kB / 1.18 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3208, allocations: 4 kB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000925/0.3217, allocations: 0.7176 MB / 1.181 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3217, allocations: 3.938 kB / 1.181 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003559/0.3221, allocations: 75.89 kB / 1.181 GB, free: 7.98 MB / 0.9356 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.001041/0.3231, allocations: 0.9656 MB / 1.182 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.3236, allocations: 207.8 kB / 1.182 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3237, allocations: 0 / 1.182 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3239, allocations: 116 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3243, allocations: 53.19 kB / 1.182 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/0.333, allocations: 6.376 MB / 1.188 GB, free: 152 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.3337, allocations: 0.9447 MB / 1.189 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.3339, allocations: 81.28 kB / 1.189 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.3342, allocations: 219.3 kB / 1.189 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.3342, allocations: 3.938 kB / 1.189 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.3717, allocations: 11.79 MB / 1.201 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.002/9.373, allocations: 2.922 kB / 1.201 GB, free: 3.285 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches