Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005777/0.005777, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001395/0.001395, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.55 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2654, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003477/0.2689, allocations: 1.603 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2705, allocations: 0.8981 MB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2707, allocations: 7.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.2707, allocations: 7.922 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.271, allocations: 27.78 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.2715, allocations: 143.5 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.2717, allocations: 75.7 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2719, allocations: 11.98 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.272, allocations: 35.84 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2721, allocations: 35.86 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2722, allocations: 7.984 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.2727, allocations: 279.6 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2727, allocations: 19.92 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.2728, allocations: 31.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.2731, allocations: 151.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2731, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2731, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2731, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006053/0.2737, allocations: 406.8 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2738, allocations: 12.03 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2739, allocations: 16.89 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2742, allocations: 197.9 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.2742, allocations: 8.359 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2742, allocations: 3.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2744, allocations: 57.67 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2744, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2744, allocations: 7.938 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2744, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2746, allocations: 43.97 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.2751, allocations: 300.7 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.2752, allocations: 50.55 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.2753, allocations: 36.97 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2754, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2754, allocations: 30.56 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.2754, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003727/0.2758, allocations: 105.5 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2758, allocations: 55.41 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2759, allocations: 139.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.276, allocations: 25.7 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.276, allocations: 100.1 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.276, allocations: 15.8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.2761, allocations: 21.7 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2762, allocations: 322.8 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.2763, allocations: 23.97 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.2764, allocations: 23.98 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2765, allocations: 56.83 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2765, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002215/0.2768, allocations: 89.56 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2768, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2768, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2768, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2769, allocations: 12.42 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.277, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.277, allocations: 11.92 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.277, allocations: 8 kB / 1.093 GB, free: 11.74 MB / 0.8575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.731e-05/0.2771, allocations: 109.8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.2772, allocations: 7.953 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.2774, allocations: 109.9 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2775, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2775, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2775, allocations: 3.938 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2777, allocations: 185.7 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2777, allocations: 3.938 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.2778, allocations: 11.98 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2778, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2778, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2778, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2778, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.2781, allocations: 195.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2781, allocations: 85.06 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2781, allocations: 3.984 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.2782, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.2783, allocations: 8 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2783, allocations: 7.922 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.2784, allocations: 99.27 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2784, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002627/0.2786, allocations: 27.94 kB / 1.094 GB, free: 10.79 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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.000209/0.2789, allocations: 111.8 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.2791, allocations: 55.91 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2791, allocations: 3.938 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.2792, allocations: 27.98 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2795, allocations: 20.59 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.2799, allocations: 194.3 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2802, allocations: 0.6885 MB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.2802, allocations: 15.73 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.2803, allocations: 15.42 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/0.2803, allocations: 0 / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of Templates: time 0.00406/0.2843, allocations: 1.084 MB / 1.096 GB, free: 8.531 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches