Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_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.00367/0.00367, allocations: 99.55 kB / 15.73 MB, free: 6.445 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.001142/0.001142, allocations: 195.4 kB / 16.67 MB, free: 6.352 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.525/2.525, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 63.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2535, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002987/0.2565, allocations: 2.268 MB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2577, allocations: 0.9477 MB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.2578, allocations: 4 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.2582, allocations: 190.9 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2584, allocations: 67.44 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.2586, allocations: 107.7 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.2589, allocations: 223 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2591, allocations: 93.66 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.2592, allocations: 95.52 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2593, allocations: 95.44 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2593, allocations: 16 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.2596, allocations: 151.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.2598, allocations: 215.4 kB / 1.225 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.26, allocations: 270 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000664/0.2606, allocations: 0.7231 MB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2606, allocations: 4 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2606, allocations: 3.938 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2607, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 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.00109/0.2617, allocations: 1.002 MB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2618, allocations: 8.031 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.2618, allocations: 42.73 kB / 1.227 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.2623, allocations: 132.2 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.263, allocations: 0.5942 MB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.263, allocations: 8.375 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.2631, allocations: 12.38 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.2634, allocations: 198.6 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2634, allocations: 7.875 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2635, allocations: 8 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2635, allocations: 4 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.2639, allocations: 231.9 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.265, allocations: 0.9178 MB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.2656, allocations: 318.5 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.2658, allocations: 108.8 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.2665, allocations: 240.9 kB / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2665, allocations: 38.53 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.2665, allocations: 0 / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000748/0.2672, allocations: 401 kB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.2673, allocations: 55.41 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2684, allocations: 0.9973 MB / 1.231 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2684, allocations: 25.7 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.2687, allocations: 344.2 kB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2687, allocations: 31.73 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.2688, allocations: 25.72 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2689, allocations: 321.9 kB / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2691, allocations: 91.95 kB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2693, allocations: 126.4 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.2697, allocations: 218.8 kB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2698, allocations: 0 / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005218/0.2703, allocations: 332.9 kB / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2703, allocations: 4 kB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2703, allocations: 0 / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2703, allocations: 4 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.2705, allocations: 19.98 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2705, allocations: 4 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2706, allocations: 23.94 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2707, allocations: 7.938 kB / 1.232 GB, free: 1.691 MB / 0.9825 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.0002364/0.2709, allocations: 245.7 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.271, allocations: 79.42 kB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.2716, allocations: 324.5 kB / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2716, allocations: 0 / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2716, allocations: 4 kB / 1.233 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2716, allocations: 7.984 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.2721, allocations: 0.5246 MB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2721, allocations: 0 / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2723, allocations: 19.98 kB / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2723, allocations: 0 / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2723, allocations: 8 kB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2723, allocations: 3.984 kB / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2723, allocations: 0 / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.2729, allocations: 411 kB / 1.234 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.2731, allocations: 184.6 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.2731, allocations: 11.94 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2733, allocations: 11.98 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.2733, allocations: 11.98 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2733, allocations: 0 / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008196/0.2742, allocations: 0.7137 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.016e-06/0.2742, allocations: 0 / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003076/0.2745, allocations: 83.75 kB / 1.235 GB, free: 14.97 MB / 0.9981 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.0009132/0.2754, allocations: 0.9545 MB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.2759, allocations: 216 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2759, allocations: 0 / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.2761, allocations: 107.9 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.2765, allocations: 53.17 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007499/0.284, allocations: 6.38 MB / 1.242 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.2845, allocations: 0.9486 MB / 1.243 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.2847, allocations: 81.33 kB / 1.243 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.285, allocations: 215.4 kB / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.285, allocations: 0 / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/2.543, allocations: 11.79 MB / 1.255 GB, free: 28.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/18, allocations: 7.625 kB / 1.255 GB, free: 28.25 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches