Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001282/0.001283, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.0014/0.0014, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.44 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004089/0.3116, allocations: 2.744 MB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3132, allocations: 1.082 MB / 0.9549 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3134, allocations: 4 kB / 0.9549 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.314, allocations: 218.8 kB / 0.9551 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3142, allocations: 87.23 kB / 0.9552 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.3146, allocations: 175.7 kB / 0.9553 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.315, allocations: 407.7 kB / 0.9557 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.3153, allocations: 217.8 kB / 0.9559 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.3154, allocations: 151.3 kB / 0.9561 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3156, allocations: 175 kB / 0.9562 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.3157, allocations: 40 kB / 0.9563 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.316, allocations: 179.8 kB / 0.9564 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.3162, allocations: 255.2 kB / 0.9567 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.3165, allocations: 357.5 kB / 0.957 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.3173, allocations: 0.965 MB / 0.958 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3173, allocations: 0 / 0.958 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3173, allocations: 0 / 0.958 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3173, allocations: 0 / 0.958 GB, free: 1.016 MB / 0.7325 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.001432/0.3187, allocations: 1.127 MB / 0.9591 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3188, allocations: 12.03 kB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.32, allocations: 239.4 kB / 0.9593 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3213, allocations: 0.7227 MB / 0.96 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3214, allocations: 29.03 kB / 0.96 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.3214, allocations: 32.38 kB / 0.9601 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.3222, allocations: 378.5 kB / 0.9604 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3222, allocations: 7.922 kB / 0.9604 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.3223, allocations: 12 kB / 0.9605 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3223, allocations: 8 kB / 0.9605 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009449/0.3232, allocations: 422.3 kB / 0.9609 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.3262, allocations: 1.775 MB / 0.9626 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.3268, allocations: 210.8 kB / 0.9628 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.3271, allocations: 100.8 kB / 0.9629 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3271, allocations: 12.14 kB / 0.9629 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3272, allocations: 42.5 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3272, allocations: 0 / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001024/0.3282, allocations: 374.4 kB / 0.9633 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3283, allocations: 59.41 kB / 0.9634 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.3296, allocations: 1.239 MB / 0.9646 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.3297, allocations: 33.7 kB / 0.9646 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.33, allocations: 428.1 kB / 0.965 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.3301, allocations: 63.02 kB / 0.9651 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.3302, allocations: 53.69 kB / 0.9651 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3303, allocations: 322 kB / 0.9654 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3306, allocations: 143.9 kB / 0.9656 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.331, allocations: 206.4 kB / 0.9658 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.3316, allocations: 279.7 kB / 0.966 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3316, allocations: 0 / 0.966 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008335/0.3324, allocations: 462.3 kB / 0.9665 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3325, allocations: 8 kB / 0.9665 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3325, allocations: 0 / 0.9665 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3325, allocations: 11.92 kB / 0.9665 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.3328, allocations: 55.91 kB / 0.9665 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3329, allocations: 4 kB / 0.9665 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.3331, allocations: 43.61 kB / 0.9666 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.3332, allocations: 11.98 kB / 0.9666 GB, free: 7.832 MB / 0.7481 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.0002841/0.3335, allocations: 271.6 kB / 0.9669 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3336, allocations: 86.97 kB / 0.9669 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.3344, allocations: 331.9 kB / 0.9673 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3344, allocations: 0 / 0.9673 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3344, allocations: 0 / 0.9673 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3344, allocations: 4 kB / 0.9673 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.3362, allocations: 1.007 MB / 0.9682 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3362, allocations: 4 kB / 0.9682 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3365, allocations: 48.03 kB / 0.9683 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3365, allocations: 8 kB / 0.9683 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3365, allocations: 7.984 kB / 0.9683 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3365, allocations: 4 kB / 0.9683 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3365, allocations: 0 / 0.9683 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.3373, allocations: 439.6 kB / 0.9687 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.3376, allocations: 204 kB / 0.9689 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.3377, allocations: 8 kB / 0.9689 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.338, allocations: 15.98 kB / 0.9689 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.338, allocations: 23.91 kB / 0.969 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3381, allocations: 12 kB / 0.969 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001001/0.3391, allocations: 0.9066 MB / 0.9699 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3391, allocations: 0 / 0.9699 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004285/0.3395, allocations: 103.8 kB / 0.97 GB, free: 4.227 MB / 0.7481 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.0002194/0.3397, allocations: 115.2 kB / 0.9701 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006791/0.3404, allocations: 279.6 kB / 0.9703 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3404, allocations: 0 / 0.9703 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.3407, allocations: 108.1 kB / 0.9704 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.3412, allocations: 69.45 kB / 0.9705 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3434, allocations: 1.37 MB / 0.9719 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.3439, allocations: 0.9946 MB / 0.9728 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002924/0.3442, allocations: 104.6 kB / 0.9729 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3444, allocations: 43.42 kB / 0.973 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3444, allocations: 3.938 kB / 0.973 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of Templates: time 0.01142/0.3558, allocations: 5.501 MB / 0.9783 GB, free: 11.58 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches