Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 180.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 99.83 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.816e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2658, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.06, allocations: 151.4 MB / 1.354 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.06, allocations: 85.88 kB / 1.354 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02149/1.081, allocations: 9.908 MB / 1.364 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.082, allocations: 0 / 1.364 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.383e-05/1.082, allocations: 11.5 kB / 1.364 GB, free: 32.76 MB / 0.8386 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.0008257/1.082, allocations: 0.7333 MB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.082, allocations: 7.719 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/1.083, allocations: 117.5 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/1.083, allocations: 0.5129 MB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.083, allocations: 3.844 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/1.084, allocations: 11.69 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003005/1.084, allocations: 244.2 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/1.084, allocations: 197.1 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/1.084, allocations: 0 / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.084, allocations: 3.906 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.084, allocations: 3.281 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/1.085, allocations: 0.9211 MB / 1.366 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/1.086, allocations: 353.2 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/1.086, allocations: 118.5 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/1.086, allocations: 332.1 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/1.086, allocations: 41.84 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/1.086, allocations: 0 / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000895/1.087, allocations: 417.2 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/1.087, allocations: 55.25 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/1.088, allocations: 0.8325 MB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/1.088, allocations: 27.34 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/1.088, allocations: 338.8 kB / 1.369 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/1.088, allocations: 26.45 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/1.088, allocations: 7.938 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/1.089, allocations: 319.7 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/1.089, allocations: 103.1 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/1.089, allocations: 110.6 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/1.089, allocations: 199.6 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.089, allocations: 0 / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008203/1.09, allocations: 414.9 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.09, allocations: 3.781 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.09, allocations: 3.844 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.09, allocations: 3.938 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/1.09, allocations: 35.84 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.09, allocations: 0 / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.091, allocations: 22.41 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/1.091, allocations: 14.81 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/1.091, allocations: 108.1 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/1.091, allocations: 77.5 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/1.092, allocations: 482.9 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.092, allocations: 0 / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.092, allocations: 4 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.092, allocations: 3.844 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/1.092, allocations: 0.5142 MB / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.092, allocations: 0 / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/1.092, allocations: 29.75 kB / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.093, allocations: 2.859 kB / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.093, allocations: 3.844 kB / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.093, allocations: 0 / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.093, allocations: 7.938 kB / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/1.093, allocations: 0.5051 MB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.094, allocations: 198.6 kB / 1.372 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/1.094, allocations: 3.906 kB / 1.372 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/1.094, allocations: 10.86 kB / 1.372 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/1.094, allocations: 10.77 kB / 1.372 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/1.094, allocations: 21.91 kB / 1.372 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006225/1.095, allocations: 0.6574 MB / 1.372 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.372 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003076/1.095, allocations: 73.5 kB / 1.373 GB, free: 29.75 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/1.095, allocations: 166.9 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001943/1.095, allocations: 180.8 kB / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.095, allocations: 0 / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/1.095, allocations: 106.2 kB / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.096, allocations: 45.5 kB / 1.373 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.097, allocations: 0.845 MB / 1.374 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/1.097, allocations: 0.9627 MB / 1.375 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000187/1.097, allocations: 73.64 kB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/1.098, allocations: 30.59 kB / 1.375 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.098, allocations: 0 / 1.375 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of Templates: time 0.007794/1.105, allocations: 3.695 MB / 1.379 GB, free: 28.36 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches