Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_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.009085/0.009085, allocations: 101 kB / 15.73 MB, free: 6.055 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.001681/0.001681, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 63.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6935, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003281/0.6968, allocations: 2.742 MB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.6982, allocations: 1.082 MB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.6984, allocations: 4.5 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.699, allocations: 221.2 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.6992, allocations: 84.98 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.6996, allocations: 184.8 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.7, allocations: 402.7 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.7003, allocations: 210.7 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.7005, allocations: 154.6 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.7006, allocations: 181.7 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.7007, allocations: 44.78 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.701, allocations: 175.6 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.7013, allocations: 254 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.7015, allocations: 357.7 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.7025, allocations: 0.959 MB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7025, allocations: 0 / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7025, allocations: 0 / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.7025, allocations: 0.8125 kB / 1.094 GB, free: 0.9336 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001583/0.7041, allocations: 1.14 MB / 1.095 GB, free: 60 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7042, allocations: 9.688 kB / 1.095 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.7043, allocations: 68.42 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.7058, allocations: 236.4 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.7075, allocations: 0.7249 MB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.7075, allocations: 25.25 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.67e-05/0.7076, allocations: 28.38 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.7086, allocations: 386.8 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.7086, allocations: 0.8125 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.7087, allocations: 10.56 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.7087, allocations: 7.562 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.7098, allocations: 417.5 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.7136, allocations: 1.779 MB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.7143, allocations: 214.2 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.7147, allocations: 94.27 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.7148, allocations: 14.56 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.7148, allocations: 37.3 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.7148, allocations: 0 / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001243/0.716, allocations: 373.6 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.7161, allocations: 57.36 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.7179, allocations: 1.246 MB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.718, allocations: 30.8 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.7184, allocations: 436.9 kB / 1.101 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.7185, allocations: 65.61 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7186, allocations: 58.09 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7187, allocations: 315.3 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.7192, allocations: 149 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.7197, allocations: 202.9 kB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.7204, allocations: 285.1 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7204, allocations: 0 / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001089/0.7215, allocations: 459.3 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.7216, allocations: 7.484 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7216, allocations: 5.281 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.7216, allocations: 10.84 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.722, allocations: 56.08 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.722, allocations: 3.453 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.7224, allocations: 36.5 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.7224, allocations: 13.2 kB / 1.103 GB, free: 12.09 MB / 0.8731 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.0004017/0.7228, allocations: 271.8 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7229, allocations: 89.98 kB / 1.103 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.7238, allocations: 320.5 kB / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7239, allocations: 3 kB / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.7239, allocations: 0 / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7239, allocations: 6.203 kB / 1.104 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.7258, allocations: 1.004 MB / 1.105 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7259, allocations: 1.344 kB / 1.105 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.7261, allocations: 46.09 kB / 1.105 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.7262, allocations: 1.375 kB / 1.105 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.7262, allocations: 9.25 kB / 1.105 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.7262, allocations: 3.156 kB / 1.105 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7262, allocations: 2.281 kB / 1.105 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.7271, allocations: 443.5 kB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.7274, allocations: 202.7 kB / 1.105 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.7275, allocations: 7.594 kB / 1.105 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.7278, allocations: 18.2 kB / 1.105 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.7279, allocations: 21.78 kB / 1.105 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.728, allocations: 11.94 kB / 1.105 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001329/0.7293, allocations: 0.9017 MB / 1.106 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.963e-06/0.7293, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005625/0.7299, allocations: 102.5 kB / 1.106 GB, free: 10.25 MB / 0.8731 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.001312/0.7312, allocations: 0.9944 MB / 1.107 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008627/0.7321, allocations: 282.6 kB / 1.108 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7321, allocations: 1.344 kB / 1.108 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.7324, allocations: 103.9 kB / 1.108 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.7331, allocations: 66.22 kB / 1.108 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.7459, allocations: 7.24 MB / 1.115 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.7466, allocations: 0.9936 MB / 1.116 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000407/0.7471, allocations: 103.9 kB / 1.116 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.7475, allocations: 296.6 kB / 1.116 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.7475, allocations: 0 / 1.116 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.7851, allocations: 13.68 MB / 1.13 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.797/9.582, allocations: 15.09 kB / 1.13 GB, free: 2.973 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches