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.001365/0.001365, 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.001306/0.001306, allocations: 193 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.452/2.452, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001712, allocations: 64.72 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2394, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003193/0.2426, allocations: 2.268 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2438, allocations: 0.948 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.2439, allocations: 0 / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.2444, allocations: 195.1 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.2445, allocations: 71.44 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2448, allocations: 111.7 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.245, allocations: 223.1 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2452, allocations: 85.67 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2453, allocations: 87.47 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2454, allocations: 103.4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.2454, allocations: 16 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.2457, allocations: 159.8 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2459, allocations: 215.4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.2461, allocations: 266 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.2467, allocations: 0.7043 MB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2467, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2467, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2467, allocations: 0 / 1.069 GB, free: 8.758 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001087/0.2478, allocations: 0.9747 MB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2478, allocations: 12.03 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.2479, allocations: 50.73 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.2484, allocations: 115.8 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.2491, allocations: 0.5857 MB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2491, allocations: 8.375 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2491, allocations: 12.38 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.2495, allocations: 199.3 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2495, allocations: 3.938 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2495, allocations: 4 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2495, allocations: 4 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.25, allocations: 236.4 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.251, allocations: 0.9138 MB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.2516, allocations: 318.5 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2518, allocations: 112.8 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/0.2525, allocations: 241 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2525, allocations: 30.56 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.2525, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007354/0.2532, allocations: 400.6 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2533, allocations: 59.34 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2544, allocations: 0.9935 MB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2544, allocations: 25.7 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.2547, allocations: 356.3 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.2547, allocations: 31.55 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.2548, allocations: 21.72 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2549, allocations: 314 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.2551, allocations: 99.89 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.2553, allocations: 126.5 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2557, allocations: 218.4 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2557, allocations: 0 / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005498/0.2562, allocations: 324.5 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2563, allocations: 4 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2563, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2563, allocations: 8.062 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2564, allocations: 19.98 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2565, allocations: 7.938 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2566, allocations: 11.98 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2566, allocations: 4 kB / 1.076 GB, free: 1.703 MB / 0.8262 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.0002315/0.2569, allocations: 245.7 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.2569, allocations: 79 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.2575, allocations: 324.5 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2575, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2575, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2576, allocations: 3.984 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.2581, allocations: 0.5323 MB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2581, allocations: 3.938 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.2582, allocations: 20.17 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2582, allocations: 4 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2582, allocations: 11.92 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2582, allocations: 0 / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2582, allocations: 0 / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.2588, allocations: 410.4 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.259, allocations: 172.1 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.259, allocations: 11.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2592, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2592, allocations: 3.984 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.2592, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000799/0.26, allocations: 0.7253 MB / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2601, allocations: 0 / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000332/0.2604, allocations: 75.84 kB / 1.079 GB, free: 15 MB / 0.8419 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.0008929/0.2613, allocations: 0.9575 MB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.2617, allocations: 215.8 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2618, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.262, allocations: 116.4 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2623, allocations: 57.31 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.2699, allocations: 6.616 MB / 1.086 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.2705, allocations: 0.949 MB / 1.087 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.2707, allocations: 77.31 kB / 1.087 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.2709, allocations: 215.4 kB / 1.088 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2709, allocations: 3.938 kB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.963/4.234, allocations: 11.61 MB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/19.65, allocations: 17.16 kB / 1.099 GB, free: 10.19 MB / 0.8575 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