Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_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.001415/0.001415, 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.001725/0.001725, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.257/1.257, 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.1.0-maint.11.x/package.mo): time 2.463/2.463, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 68.83 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2449, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003752/0.2487, allocations: 2.741 MB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2502, allocations: 1.088 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.2504, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.2509, allocations: 210.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.2511, allocations: 87.23 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.2515, allocations: 183.7 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.2519, allocations: 399.8 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.2522, allocations: 213.8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2524, allocations: 151.2 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2525, allocations: 183 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.2526, allocations: 40 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.2529, allocations: 179.7 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.2531, allocations: 259.2 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.2534, allocations: 357.5 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.2542, allocations: 0.9379 MB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2543, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2543, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2543, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 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.001319/0.2556, allocations: 1.135 MB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.2556, allocations: 8.031 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.2557, allocations: 70.72 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.2569, allocations: 231.5 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2581, allocations: 0.7229 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2581, allocations: 21.03 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.2582, allocations: 32.38 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.2589, allocations: 378.3 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2589, allocations: 4 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.259, allocations: 19.94 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.259, allocations: 4 kB / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.2599, allocations: 422.4 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.2627, allocations: 1.779 MB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.2633, allocations: 224.2 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.2635, allocations: 96.81 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2636, allocations: 7.984 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2636, allocations: 38.52 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.2636, allocations: 0 / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0009829/0.2646, allocations: 374.4 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.2647, allocations: 59.36 kB / 1.076 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.266, allocations: 1.239 MB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.2661, allocations: 29.7 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.2664, allocations: 440.3 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.2665, allocations: 63.09 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.2666, allocations: 57.59 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2667, allocations: 314 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.267, allocations: 147.9 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.2674, allocations: 203.7 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.268, allocations: 285 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.268, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008371/0.2688, allocations: 463 kB / 1.079 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2689, allocations: 4 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2689, allocations: 3.938 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2689, allocations: 4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.2692, allocations: 63.89 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2692, allocations: 3.938 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2695, allocations: 39.67 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2695, allocations: 8 kB / 1.08 GB, free: 13.86 MB / 0.8419 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.0002693/0.2698, allocations: 269.7 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2699, allocations: 90.88 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.2707, allocations: 331.4 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2707, allocations: 4 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2707, allocations: 0 / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2707, allocations: 4 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.2722, allocations: 0.9923 MB / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2722, allocations: 4 kB / 1.081 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.2725, allocations: 52.09 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2725, allocations: 0 / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.2725, allocations: 4 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2725, allocations: 7.984 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2725, allocations: 3.938 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.2733, allocations: 444.4 kB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.2735, allocations: 203.9 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.2736, allocations: 8 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2738, allocations: 19.98 kB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.2739, allocations: 27.86 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2739, allocations: 7.984 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009885/0.2749, allocations: 0.9028 MB / 1.083 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2749, allocations: 0 / 1.083 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003524/0.2752, allocations: 99.84 kB / 1.083 GB, free: 10.27 MB / 0.8419 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.001092/0.2763, allocations: 0.9915 MB / 1.084 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006749/0.277, allocations: 287.6 kB / 1.084 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.277, allocations: 0 / 1.084 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.2773, allocations: 109.2 kB / 1.084 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.2778, allocations: 73.25 kB / 1.084 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009222/0.287, allocations: 7.607 MB / 1.092 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.2876, allocations: 0.9996 MB / 1.093 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003083/0.2879, allocations: 100.6 kB / 1.093 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.2883, allocations: 295.3 kB / 1.093 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2883, allocations: 3.938 kB / 1.093 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.2/5.488, allocations: 13.48 MB / 1.106 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/20.02, allocations: 6.125 kB / 1.106 GB, free: 2.168 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches