Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 100.1 kB / 15.88 MB, free: 12 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.001613/0.001613, allocations: 198.3 kB / 16.79 MB, free: 6.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6992, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004677/0.7039, allocations: 2.78 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.7061, allocations: 1.089 MB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.7065, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007739/0.7074, allocations: 192.9 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.7076, allocations: 59.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.7082, allocations: 155.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.7087, allocations: 383.7 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.709, allocations: 201.8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.7093, allocations: 131.3 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.7095, allocations: 183 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.7096, allocations: 20 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.7099, allocations: 155.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.7102, allocations: 239.2 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.7105, allocations: 337.6 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.7112, allocations: 0.7405 MB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7113, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7113, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.7113, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.7794 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.001527/0.7128, allocations: 1.123 MB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7129, allocations: 12.03 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.7142, allocations: 243.4 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.7155, allocations: 0.7228 MB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.7155, allocations: 25.03 kB / 1.026 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.7156, allocations: 36.31 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.7164, allocations: 382.5 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.7165, allocations: 3.938 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.7165, allocations: 16 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7165, allocations: 4 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.7175, allocations: 422.3 kB / 1.027 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.7206, allocations: 1.772 MB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.7213, allocations: 222.6 kB / 1.029 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.7216, allocations: 100.8 kB / 1.029 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.7216, allocations: 4 kB / 1.029 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7217, allocations: 30.56 kB / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.7217, allocations: 0 / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001091/0.7228, allocations: 382.3 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.7228, allocations: 55.41 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.7243, allocations: 1.243 MB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.7243, allocations: 29.7 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.7247, allocations: 436.1 kB / 1.031 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.7248, allocations: 71.3 kB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.7249, allocations: 49.7 kB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.725, allocations: 314 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.7253, allocations: 147.9 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.7257, allocations: 201.8 kB / 1.032 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.7264, allocations: 282.6 kB / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7264, allocations: 0 / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008851/0.7273, allocations: 474.3 kB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.7273, allocations: 11.94 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.7273, allocations: 0 / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.7274, allocations: 7.938 kB / 1.032 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.7277, allocations: 59.97 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.7277, allocations: 3.938 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.728, allocations: 39.66 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.728, allocations: 12 kB / 1.032 GB, free: 2.918 MB / 0.7794 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.0003178/0.7284, allocations: 266.3 kB / 1.033 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.7285, allocations: 90.81 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008237/0.7293, allocations: 317.8 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7293, allocations: 4 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.7293, allocations: 3.984 kB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7293, allocations: 3.984 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.731, allocations: 0.9996 MB / 1.034 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.731, allocations: 4 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.7313, allocations: 47.95 kB / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7313, allocations: 0 / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.7313, allocations: 4 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.7314, allocations: 12.09 kB / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7314, allocations: 0 / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.7321, allocations: 444.8 kB / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.7324, allocations: 203.9 kB / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.7324, allocations: 11.94 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.7327, allocations: 23.97 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.7328, allocations: 15.92 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.7328, allocations: 8 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001072/0.7339, allocations: 0.9028 MB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7339, allocations: 4 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004354/0.7343, allocations: 99.78 kB / 1.036 GB, free: 15.32 MB / 0.795 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.0002318/0.7346, allocations: 119.2 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007195/0.7353, allocations: 279.7 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7353, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.7356, allocations: 120.1 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.7362, allocations: 57.05 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.7387, allocations: 1.672 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.7393, allocations: 0.9966 MB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.7395, allocations: 43.42 kB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.7395, allocations: 0 / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of Templates: time 0.01348/0.753, allocations: 8.939 MB / 1.048 GB, free: 3.055 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches