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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001464, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001482/0.001482, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 4.508 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.725/2.725, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 69.2 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3305, allocations: 159.2 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003862/0.3344, allocations: 2.308 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3358, allocations: 0.9287 MB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.3359, allocations: 8 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.3365, allocations: 179.3 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3366, allocations: 59.61 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.337, allocations: 99.78 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.3372, allocations: 219.2 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3374, allocations: 93.62 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3375, allocations: 91.45 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3377, allocations: 111.4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3377, allocations: 16 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.338, allocations: 147.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.3382, allocations: 207.4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.3384, allocations: 262.1 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.339, allocations: 0.569 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.339, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.339, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.339, allocations: 3.984 kB / 1.069 GB, free: 9.281 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.001232/0.3402, allocations: 0.9825 MB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3403, allocations: 8.031 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.3408, allocations: 119.8 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.3416, allocations: 0.5856 MB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3416, allocations: 8.375 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.3416, allocations: 12.38 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.342, allocations: 198.1 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3421, allocations: 192 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3421, allocations: 7.938 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3421, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.3425, allocations: 227.8 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.3437, allocations: 0.9139 MB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3444, allocations: 314.4 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3446, allocations: 116.9 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/0.3453, allocations: 248.9 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3453, allocations: 30.56 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.3453, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008085/0.3462, allocations: 404.5 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3462, allocations: 55.41 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3474, allocations: 0.9973 MB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3474, allocations: 25.7 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.3477, allocations: 348 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.3478, allocations: 27.56 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.3478, allocations: 29.7 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.348, allocations: 314 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3482, allocations: 91.95 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3484, allocations: 130.5 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.3488, allocations: 218.4 kB / 1.076 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3488, allocations: 0 / 1.076 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005676/0.3494, allocations: 328.9 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3494, allocations: 4 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3494, allocations: 96 / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3495, allocations: 7.938 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3496, allocations: 23.97 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3497, allocations: 8.062 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3498, allocations: 4 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3498, allocations: 7.984 kB / 1.076 GB, free: 2.277 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.0002617/0.3501, allocations: 249.7 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.3502, allocations: 75 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.3508, allocations: 332.4 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3509, allocations: 4 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3509, allocations: 0 / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3509, allocations: 4 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.3514, allocations: 0.5245 MB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3515, allocations: 3.938 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3516, allocations: 23.98 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3516, allocations: 0 / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3516, allocations: 4 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3516, allocations: 0 / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3516, allocations: 4 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.3522, allocations: 398.5 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3524, allocations: 184.1 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.3525, allocations: 4 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3527, allocations: 11.98 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3527, allocations: 8 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3527, allocations: 3.938 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009907/0.3537, allocations: 0.7176 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3537, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003494/0.3541, allocations: 71.84 kB / 1.078 GB, free: 15.59 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.0002214/0.3543, allocations: 123.7 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004791/0.3548, allocations: 224 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3548, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.355, allocations: 112 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3555, allocations: 61.12 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3575, allocations: 1.383 MB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.3581, allocations: 0.9454 MB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3583, allocations: 35.44 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.3583, allocations: 0 / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.01152/0.3698, allocations: 7.167 MB / 1.088 GB, free: 5.496 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (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 & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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