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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009471/0.0009471, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005118/0.005118, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.573, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002343/0.5754, allocations: 2.401 MB / 0.9575 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.5768, allocations: 1.061 MB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.5771, allocations: 3.906 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.5776, allocations: 200.7 kB / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.5778, allocations: 68.14 kB / 0.9588 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.5781, allocations: 148.4 kB / 0.959 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.5785, allocations: 378.5 kB / 0.9593 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.5787, allocations: 199.8 kB / 0.9595 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.5789, allocations: 109.8 kB / 0.9596 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.579, allocations: 145.5 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.579, allocations: 12.38 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.5793, allocations: 140.9 kB / 0.9599 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.5795, allocations: 225.3 kB / 0.9601 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.5797, allocations: 333 kB / 0.9604 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.5803, allocations: 0.8885 MB / 0.9613 GB, free: 3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5803, allocations: 4 kB / 0.9613 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5803, allocations: 7.938 kB / 0.9613 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.5804, allocations: 1.375 kB / 0.9613 GB, free: 2.988 MB / 0.7169 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.001265/0.5816, allocations: 0.9934 MB / 0.9623 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5817, allocations: 17.78 kB / 0.9623 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.5818, allocations: 68.62 kB / 0.9624 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.5831, allocations: 269.5 kB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.5844, allocations: 0.7437 MB / 0.9633 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5844, allocations: 21.75 kB / 0.9634 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.5845, allocations: 32.16 kB / 0.9634 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.5852, allocations: 391.5 kB / 0.9638 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5853, allocations: 0 / 0.9638 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.5853, allocations: 15.34 kB / 0.9638 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5853, allocations: 6.312 kB / 0.9638 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/0.5862, allocations: 433.3 kB / 0.9642 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.5897, allocations: 2.136 MB / 0.9663 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.5903, allocations: 222.2 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.5907, allocations: 93.84 kB / 0.9666 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.5907, allocations: 5.625 kB / 0.9666 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5907, allocations: 40.12 kB / 0.9666 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 3.106e-06/0.5907, allocations: 0 / 0.9666 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001097/0.5918, allocations: 378.1 kB / 0.967 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.5919, allocations: 54.25 kB / 0.967 GB, free: 15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.5934, allocations: 1.244 MB / 0.9683 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.5935, allocations: 32.02 kB / 0.9683 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.5939, allocations: 437.7 kB / 0.9687 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.5939, allocations: 67.59 kB / 0.9688 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.594, allocations: 28.94 kB / 0.9688 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5941, allocations: 316.1 kB / 0.9691 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.5944, allocations: 143.8 kB / 0.9692 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.5948, allocations: 198.9 kB / 0.9694 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.5955, allocations: 286.9 kB / 0.9697 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5955, allocations: 1.156 kB / 0.9697 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009246/0.5964, allocations: 462.1 kB / 0.9701 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5965, allocations: 5.375 kB / 0.9702 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5965, allocations: 5.406 kB / 0.9702 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5965, allocations: 2.062 kB / 0.9702 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.5968, allocations: 63.14 kB / 0.9702 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5968, allocations: 1.406 kB / 0.9702 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.5971, allocations: 33.23 kB / 0.9703 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.5971, allocations: 11.62 kB / 0.9703 GB, free: 12.91 MB / 0.7325 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.0003086/0.5975, allocations: 273.6 kB / 0.9705 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5976, allocations: 84.34 kB / 0.9706 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.5984, allocations: 332.3 kB / 0.9709 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5985, allocations: 2.938 kB / 0.9709 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5985, allocations: 0 / 0.9709 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5985, allocations: 5.031 kB / 0.9709 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.6002, allocations: 0.9996 MB / 0.9719 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6002, allocations: 1.75 kB / 0.9719 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.6004, allocations: 51.97 kB / 0.972 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6005, allocations: 2.656 kB / 0.972 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6005, allocations: 3.969 kB / 0.972 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6005, allocations: 2.031 kB / 0.972 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6005, allocations: 5.984 kB / 0.972 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.6013, allocations: 443.2 kB / 0.9724 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.6015, allocations: 211.3 kB / 0.9726 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/0.6016, allocations: 6.906 kB / 0.9726 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.6019, allocations: 17.8 kB / 0.9726 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.602, allocations: 27.59 kB / 0.9726 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.602, allocations: 10.12 kB / 0.9727 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001085/0.6031, allocations: 0.9025 MB / 0.9735 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6031, allocations: 5.312 kB / 0.9735 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004397/0.6036, allocations: 100.4 kB / 0.9736 GB, free: 10.59 MB / 0.7325 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.001132/0.6047, allocations: 0.9949 MB / 0.9746 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.6054, allocations: 274.2 kB / 0.9749 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6055, allocations: 1.375 kB / 0.9749 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.6058, allocations: 105.9 kB / 0.975 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.6064, allocations: 69.17 kB / 0.975 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.6182, allocations: 7.828 MB / 0.9827 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.6188, allocations: 0.9947 MB / 0.9837 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003467/0.6192, allocations: 100.6 kB / 0.9838 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.6195, allocations: 291.3 kB / 0.984 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.6195, allocations: 0 / 0.984 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.6435, allocations: 13.09 MB / 0.9968 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.6437, allocations: 221.3 kB / 0.997 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.486, allocations: 4 kB / 0.997 GB, free: 3.82 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.mat","/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