Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001469/0.001469, allocations: 108 kB / 15.6 MB, free: 132 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.001551/0.001551, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 67.36 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3752, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00475/0.38, allocations: 1.595 MB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3821, allocations: 0.9268 MB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3823, allocations: 4 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.3823, allocations: 3.938 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.3827, allocations: 19.8 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.3834, allocations: 143.6 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.3837, allocations: 79.66 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3839, allocations: 4 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.384, allocations: 35.91 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3843, allocations: 43.78 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3843, allocations: 4 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.3849, allocations: 283.6 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.3849, allocations: 15.92 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.385, allocations: 31.8 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.3854, allocations: 151.9 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3854, allocations: 4 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3854, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3854, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 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.0007321/0.3862, allocations: 407.1 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3862, allocations: 8.031 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.3864, allocations: 16.83 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3866, allocations: 181.9 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3867, allocations: 8.375 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3867, allocations: 384 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.3869, allocations: 69.91 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3869, allocations: 4 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3869, allocations: 8 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.387, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3871, allocations: 39.97 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.3877, allocations: 300.7 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3879, allocations: 50.56 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.388, allocations: 36.91 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.388, allocations: 3.938 kB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.388, allocations: 30.56 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.388, allocations: 0 / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003946/0.3884, allocations: 109.5 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3885, allocations: 55.41 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3886, allocations: 131.5 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3886, allocations: 25.7 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.3887, allocations: 96.14 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3887, allocations: 15.73 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.3888, allocations: 17.72 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3889, allocations: 326.8 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.389, allocations: 31.86 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.389, allocations: 19.98 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3892, allocations: 56.83 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3892, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002271/0.3894, allocations: 89.56 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3895, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3895, allocations: 7.984 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3895, allocations: 4 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3896, allocations: 15.92 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.3897, allocations: 4.438 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3897, allocations: 4 kB / 1.074 GB, free: 4.734 MB / 0.8262 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 8.592e-05/0.3898, allocations: 118.3 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.3899, allocations: 7.906 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3901, allocations: 106 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3902, allocations: 0 / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3902, allocations: 0 / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3902, allocations: 3.984 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3904, allocations: 189.5 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3904, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.3905, allocations: 15.92 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3905, allocations: 4 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3905, allocations: 4 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3905, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3905, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3908, allocations: 191.3 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.3908, allocations: 81.11 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3909, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.391, allocations: 4 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.391, allocations: 15.98 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.391, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.3911, allocations: 100.9 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3911, allocations: 0 / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002526/0.3914, allocations: 27.98 kB / 1.074 GB, free: 3.781 MB / 0.8262 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.0002127/0.3916, allocations: 123.2 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3918, allocations: 63.89 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3918, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3919, allocations: 35.92 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3923, allocations: 12.81 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.3928, allocations: 184.4 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.393, allocations: 0.6885 MB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.3931, allocations: 4 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.3931, allocations: 19.44 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of SimCode: time 4.9e-07/0.3931, allocations: 0 / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.004219/0.3974, allocations: 1.103 MB / 1.077 GB, free: 1.508 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches