Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.EnergyConversionNormal,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_9_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.009456/0.009456, allocations: 105.9 kB / 15.73 MB, free: 6 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.002133/0.002133, allocations: 189 kB / 16.67 MB, free: 5.926 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.399/2.399, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.708, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00285/0.7109, allocations: 2.264 MB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.7121, allocations: 0.9478 MB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.7122, allocations: 2.438 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.7127, allocations: 201.4 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.7128, allocations: 62.28 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.7131, allocations: 118.8 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.7134, allocations: 225.1 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.7136, allocations: 86.67 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.7137, allocations: 85.62 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.7138, allocations: 101.2 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.7138, allocations: 18.03 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.7141, allocations: 151.6 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.7143, allocations: 214.2 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.7145, allocations: 263.9 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.7152, allocations: 0.7233 MB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7152, allocations: 0 / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7152, allocations: 0.8438 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7153, allocations: 0.5625 kB / 1.093 GB, free: 1.918 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001093/0.7164, allocations: 0.9675 MB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7164, allocations: 13.31 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.7165, allocations: 41.72 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.717, allocations: 122 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.7178, allocations: 0.5896 MB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.7178, allocations: 13.5 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.7178, allocations: 12.92 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.7182, allocations: 190.1 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7183, allocations: 3.938 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.7183, allocations: 5.125 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7183, allocations: 3.5 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.7188, allocations: 237.6 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.7201, allocations: 0.9243 MB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.7208, allocations: 314.7 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.7211, allocations: 115 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007871/0.7219, allocations: 236 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.7219, allocations: 36.25 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.7219, allocations: 0 / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0008844/0.7228, allocations: 404.4 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.7229, allocations: 53.88 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.7242, allocations: 0.9947 MB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.7242, allocations: 27.02 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.7245, allocations: 341.9 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.7246, allocations: 34.03 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.7246, allocations: 32.5 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7248, allocations: 308.8 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.725, allocations: 96.94 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.7252, allocations: 118 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.7257, allocations: 218.8 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7257, allocations: 0 / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006418/0.7264, allocations: 321.4 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7264, allocations: 5.297 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7264, allocations: 1.281 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7265, allocations: 5.594 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.7266, allocations: 32.34 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7267, allocations: 0.6562 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.7269, allocations: 19.91 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.7269, allocations: 3.844 kB / 1.099 GB, free: 14.09 MB / 0.8731 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.0003117/0.7272, allocations: 245.5 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7273, allocations: 75.22 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/0.7281, allocations: 334.6 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.7281, allocations: 0.9062 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7281, allocations: 5.609 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7281, allocations: 0.6094 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.7288, allocations: 0.5288 MB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7288, allocations: 0 / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.729, allocations: 25.09 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.729, allocations: 0.5 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.729, allocations: 5.734 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.729, allocations: 5.562 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.729, allocations: 0.5 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.7297, allocations: 401.8 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.73, allocations: 185.5 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.7301, allocations: 5.688 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.7303, allocations: 6.219 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.7303, allocations: 6.156 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.7304, allocations: 6.641 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009383/0.7313, allocations: 0.7172 MB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7313, allocations: 0 / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004201/0.7317, allocations: 65.05 kB / 1.102 GB, free: 12.77 MB / 0.8731 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.0009959/0.7327, allocations: 0.9603 MB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004982/0.7333, allocations: 219 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7333, allocations: 1.375 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.7335, allocations: 107.9 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.734, allocations: 53.41 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008808/0.7428, allocations: 6.352 MB / 1.109 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.7434, allocations: 0.945 MB / 1.11 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.7436, allocations: 83.19 kB / 1.11 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.7439, allocations: 219.8 kB / 1.111 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.744, allocations: 480 / 1.111 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.7791, allocations: 11.77 MB / 1.122 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/9.487, allocations: 13.19 kB / 1.122 GB, free: 6.348 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches