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.007435/0.007435, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001364/0.001364, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.258/2.258, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7194, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003317/0.7228, allocations: 2.737 MB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.7242, allocations: 1.083 MB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.7244, allocations: 4.344 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.725, allocations: 223.5 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.7252, allocations: 89.69 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.7256, allocations: 180.3 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.726, allocations: 403.4 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.7263, allocations: 214.7 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.7264, allocations: 154.1 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.7266, allocations: 174.5 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.7267, allocations: 40.56 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.727, allocations: 175.5 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.7272, allocations: 258.4 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.7275, allocations: 357.3 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.7285, allocations: 0.9657 MB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7285, allocations: 0 / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7285, allocations: 0.5312 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.7285, allocations: 4 kB / 1.094 GB, free: 0.9102 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.001439/0.73, allocations: 1.16 MB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.73, allocations: 9.406 kB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.7301, allocations: 67.84 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.7316, allocations: 245.4 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.7331, allocations: 0.7287 MB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.7331, allocations: 21.59 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.7332, allocations: 33.11 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.7341, allocations: 387.2 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7341, allocations: 3.984 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.7342, allocations: 11.25 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.7342, allocations: 7.188 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.7353, allocations: 421.5 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.7389, allocations: 1.78 MB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.7396, allocations: 215.5 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.74, allocations: 98.52 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.74, allocations: 15.59 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.7401, allocations: 35.91 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.7401, allocations: 0 / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001171/0.7413, allocations: 378.1 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.7413, allocations: 59.19 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.7431, allocations: 1.24 MB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.7431, allocations: 28.39 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.7436, allocations: 436.6 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.7436, allocations: 73.89 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.7438, allocations: 54.88 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.7439, allocations: 315 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.7443, allocations: 152.5 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.7447, allocations: 207.6 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.7454, allocations: 278.5 kB / 1.103 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7454, allocations: 0 / 1.103 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009814/0.7464, allocations: 472.1 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7464, allocations: 6.656 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7465, allocations: 5.312 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7465, allocations: 2.812 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.7468, allocations: 61.17 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.7468, allocations: 2.078 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.7472, allocations: 41.05 kB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.7472, allocations: 12.81 kB / 1.103 GB, free: 12.01 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.0003306/0.7475, allocations: 276.5 kB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.7477, allocations: 89.3 kB / 1.103 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008801/0.7486, allocations: 325.9 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7486, allocations: 2.406 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7486, allocations: 0.7031 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7486, allocations: 0.6562 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.7504, allocations: 1.007 MB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7505, allocations: 3.484 kB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.7507, allocations: 44.48 kB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.7507, allocations: 2.031 kB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.7508, allocations: 9.781 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7508, allocations: 6.547 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7508, allocations: 2.75 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.7516, allocations: 440.8 kB / 1.105 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.7519, allocations: 209.9 kB / 1.105 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.752, allocations: 4.016 kB / 1.105 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.7523, allocations: 17.94 kB / 1.105 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.7524, allocations: 26.45 kB / 1.105 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.7524, allocations: 7.109 kB / 1.105 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001146/0.7535, allocations: 0.9022 MB / 1.106 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7535, allocations: 7.938 kB / 1.106 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005002/0.754, allocations: 106.3 kB / 1.106 GB, free: 10.14 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.001169/0.7552, allocations: 0.9912 MB / 1.107 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007568/0.756, allocations: 278.8 kB / 1.108 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.756, allocations: 0 / 1.108 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.7564, allocations: 105.2 kB / 1.108 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.7569, allocations: 81.55 kB / 1.108 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.7674, allocations: 7.257 MB / 1.115 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.7681, allocations: 0.9963 MB / 1.116 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.7684, allocations: 101.4 kB / 1.116 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.7688, allocations: 296.5 kB / 1.116 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.7688, allocations: 0 / 1.116 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.8061, allocations: 13.69 MB / 1.13 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.855/9.661, allocations: 11.5 kB / 1.13 GB, free: 2.844 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