Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 70.8 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2442, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003675/0.2479, allocations: 2.753 MB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2494, allocations: 1.092 MB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2495, allocations: 4 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.25, allocations: 210.8 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2502, allocations: 87.3 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2505, allocations: 179.7 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.2509, allocations: 407.7 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.2512, allocations: 205.8 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2513, allocations: 155.3 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2515, allocations: 175 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.2515, allocations: 40 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.2518, allocations: 175.8 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.252, allocations: 267.2 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.2522, allocations: 345.6 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006945/0.2529, allocations: 0.9379 MB / 1.06 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2529, allocations: 4 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.253, allocations: 0 / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.253, allocations: 0 / 1.06 GB, free: 1.238 MB / 0.8106 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.001219/0.2542, allocations: 1.131 MB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2542, allocations: 12.62 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.2543, allocations: 66.72 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.2556, allocations: 235.5 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2568, allocations: 0.7229 MB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2568, allocations: 32.97 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.2568, allocations: 28.38 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000724/0.2576, allocations: 386.3 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2576, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.2576, allocations: 12 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2576, allocations: 11.98 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.2586, allocations: 418.4 kB / 1.063 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.2613, allocations: 1.791 MB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.2619, allocations: 226.5 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.2622, allocations: 92.81 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.2623, allocations: 8 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2623, allocations: 42.5 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.2623, allocations: 0 / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001015/0.2633, allocations: 369.5 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2634, allocations: 59.36 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2646, allocations: 1.243 MB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2646, allocations: 33.7 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.2649, allocations: 428.2 kB / 1.067 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.265, allocations: 67.31 kB / 1.067 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.265, allocations: 49.7 kB / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.2651, allocations: 318 kB / 1.067 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.2655, allocations: 151.9 kB / 1.067 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.2658, allocations: 203.2 kB / 1.068 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.2664, allocations: 283 kB / 1.068 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2664, allocations: 0 / 1.068 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008242/0.2673, allocations: 467.4 kB / 1.068 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2673, allocations: 9.25 kB / 1.068 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2673, allocations: 3.938 kB / 1.068 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2673, allocations: 4 kB / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.2676, allocations: 60.06 kB / 1.068 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2676, allocations: 7.984 kB / 1.068 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2679, allocations: 35.67 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2679, allocations: 8 kB / 1.068 GB, free: 7.961 MB / 0.8262 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.0002535/0.2682, allocations: 275.2 kB / 1.069 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.2683, allocations: 86.88 kB / 1.069 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.2691, allocations: 323.8 kB / 1.069 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2691, allocations: 0 / 1.069 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2691, allocations: 7.938 kB / 1.069 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2691, allocations: 3.984 kB / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2706, allocations: 0.9997 MB / 1.07 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2706, allocations: 0 / 1.07 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.2709, allocations: 47.95 kB / 1.07 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2709, allocations: 7.938 kB / 1.07 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2709, allocations: 8 kB / 1.07 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2709, allocations: 4 kB / 1.07 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2709, allocations: 0 / 1.07 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.2717, allocations: 439.6 kB / 1.071 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.2719, allocations: 203.9 kB / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.272, allocations: 11.98 kB / 1.071 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.2722, allocations: 19.98 kB / 1.071 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.2723, allocations: 19.92 kB / 1.071 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2723, allocations: 8 kB / 1.071 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009182/0.2732, allocations: 0.9028 MB / 1.072 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2733, allocations: 0 / 1.072 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003835/0.2736, allocations: 103.8 kB / 1.072 GB, free: 4.367 MB / 0.8262 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.00107/0.2747, allocations: 0.9945 MB / 1.073 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007301/0.2755, allocations: 283.9 kB / 1.073 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2755, allocations: 8.062 kB / 1.073 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.2758, allocations: 99.83 kB / 1.073 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.2763, allocations: 71.41 kB / 1.073 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009283/0.2856, allocations: 7.611 MB / 1.081 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.2861, allocations: 0.9952 MB / 1.082 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.2864, allocations: 104.6 kB / 1.082 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.2868, allocations: 299.3 kB / 1.082 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.2868, allocations: 3.938 kB / 1.082 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.244/1.531, allocations: 13.48 MB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.47, allocations: 6.719 kB / 1.095 GB, free: 12.26 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches