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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 105.6 kB / 16.27 MB, free: 5.957 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.001967/0.001967, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.88 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2625, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003983/0.2665, allocations: 2.258 MB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2681, allocations: 0.9453 MB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.2684, allocations: 3.938 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.2691, allocations: 195.4 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.2695, allocations: 67.44 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.2699, allocations: 115.7 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.2703, allocations: 223 kB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.2705, allocations: 89.62 kB / 0.9541 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2706, allocations: 79.59 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.2708, allocations: 95.44 kB / 0.9542 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.2708, allocations: 20 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.2712, allocations: 163.8 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.2714, allocations: 215.3 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.2717, allocations: 266 kB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007361/0.2724, allocations: 0.7043 MB / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2724, allocations: 0 / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2724, allocations: 0 / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.2724, allocations: 0 / 0.9555 GB, free: 3.453 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001389/0.2738, allocations: 0.9746 MB / 0.9565 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2739, allocations: 16.03 kB / 0.9565 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.2745, allocations: 115.8 kB / 0.9566 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.2753, allocations: 0.5895 MB / 0.9572 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2753, allocations: 12.38 kB / 0.9572 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2753, allocations: 16.38 kB / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.2758, allocations: 198.6 kB / 0.9574 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2758, allocations: 192 / 0.9574 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2758, allocations: 7.938 kB / 0.9574 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2758, allocations: 4 kB / 0.9574 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.2763, allocations: 223.9 kB / 0.9576 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2776, allocations: 0.9177 MB / 0.9585 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.2783, allocations: 314.5 kB / 0.9588 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.2785, allocations: 108.9 kB / 0.9589 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/0.2793, allocations: 232.9 kB / 0.9592 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2793, allocations: 38.56 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.2793, allocations: 0 / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0008644/0.2802, allocations: 404.5 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2803, allocations: 55.34 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.2815, allocations: 0.9974 MB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2815, allocations: 29.7 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.2818, allocations: 348 kB / 0.961 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2819, allocations: 35.53 kB / 0.961 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.2819, allocations: 25.7 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.282, allocations: 310 kB / 0.9613 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2823, allocations: 99.89 kB / 0.9614 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2825, allocations: 126.5 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.283, allocations: 222.4 kB / 0.9618 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.283, allocations: 0 / 0.9618 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006407/0.2836, allocations: 316.5 kB / 0.9621 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2836, allocations: 4 kB / 0.9621 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2837, allocations: 0 / 0.9621 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2837, allocations: 4.062 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.2839, allocations: 31.91 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.2839, allocations: 0 / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2841, allocations: 12.38 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2841, allocations: 11.98 kB / 0.9621 GB, free: 12.45 MB / 0.7481 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.0002672/0.2844, allocations: 243.7 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.2845, allocations: 75 kB / 0.9624 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.2851, allocations: 344.4 kB / 0.9628 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2852, allocations: 0 / 0.9628 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2852, allocations: 0 / 0.9628 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2852, allocations: 0 / 0.9628 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.2858, allocations: 0.5323 MB / 0.9633 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2858, allocations: 3.938 kB / 0.9633 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.286, allocations: 23.92 kB / 0.9633 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.286, allocations: 4 kB / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.286, allocations: 4 kB / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.286, allocations: 0 / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.286, allocations: 0 / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.2866, allocations: 406.5 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.2868, allocations: 180.1 kB / 0.9639 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.2869, allocations: 7.938 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2871, allocations: 7.984 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2871, allocations: 4 kB / 0.9639 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2871, allocations: 4 kB / 0.9639 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000918/0.2881, allocations: 0.7176 MB / 0.9646 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2881, allocations: 0 / 0.9646 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003782/0.2885, allocations: 75.94 kB / 0.9647 GB, free: 9.742 MB / 0.7481 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.0002115/0.2887, allocations: 115.2 kB / 0.9648 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.2892, allocations: 223.8 kB / 0.965 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2892, allocations: 128 / 0.965 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.2894, allocations: 104.3 kB / 0.9651 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.2899, allocations: 61.25 kB / 0.9651 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.2918, allocations: 1.23 MB / 0.9663 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.2923, allocations: 0.9478 MB / 0.9673 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2925, allocations: 31.44 kB / 0.9673 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.2925, allocations: 0 / 0.9673 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of Templates: time 0.01176/0.3042, allocations: 7.18 MB / 0.9743 GB, free: 15.83 MB / 0.7637 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches