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.001521/0.001521, allocations: 108.7 kB / 16.41 MB, free: 6.457 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.00156/0.00156, allocations: 189.7 kB / 17.35 MB, free: 5.719 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8793, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002837/0.8822, allocations: 1.615 MB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.8836, allocations: 0.8979 MB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.8837, allocations: 5 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.8838, allocations: 5.391 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.884, allocations: 26.28 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.8844, allocations: 136.8 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.8846, allocations: 79.73 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.8847, allocations: 16 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.8848, allocations: 39.2 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.885, allocations: 31.47 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.885, allocations: 4.719 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.8855, allocations: 280 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.8855, allocations: 12.55 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.8856, allocations: 34.86 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.8859, allocations: 151.8 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8859, allocations: 0 / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8859, allocations: 0.6875 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.8859, allocations: 0 / 1.092 GB, free: 3.469 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.0005137/0.8864, allocations: 410.3 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8865, allocations: 9.781 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.8866, allocations: 17.69 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.8868, allocations: 185.1 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.8868, allocations: 6.031 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.8869, allocations: 6.875 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.8871, allocations: 60.38 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8871, allocations: 0 / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.8871, allocations: 4.781 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8871, allocations: 0.5938 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.8873, allocations: 45.11 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.8877, allocations: 305.8 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.8878, allocations: 51.09 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.8879, allocations: 31.42 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.8879, allocations: 5.156 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.888, allocations: 32.02 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.888, allocations: 0 / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003795/0.8884, allocations: 104.3 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.8884, allocations: 52.53 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.8885, allocations: 140.2 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.8885, allocations: 30.77 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.8886, allocations: 97.28 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.8886, allocations: 15.34 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.8886, allocations: 20.3 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.8887, allocations: 320 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.8888, allocations: 24.22 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.8888, allocations: 22 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.889, allocations: 54.45 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.889, allocations: 0.6875 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002101/0.8892, allocations: 96.52 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8893, allocations: 4.531 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8893, allocations: 0.5938 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8893, allocations: 1.234 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.8894, allocations: 14.16 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8894, allocations: 4.688 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.8895, allocations: 13.38 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.8895, allocations: 1.859 kB / 1.094 GB, free: 1.594 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 5.823e-05/0.8896, allocations: 113.6 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.8896, allocations: 12.56 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.8899, allocations: 99.11 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8899, allocations: 4.891 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8899, allocations: 5 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8899, allocations: 3.938 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.8901, allocations: 184 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8901, allocations: 0.8438 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.8902, allocations: 14.25 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8902, allocations: 0.8438 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.8902, allocations: 5.266 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8902, allocations: 0.6562 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8902, allocations: 0 / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.8905, allocations: 196.1 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.8905, allocations: 84.02 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.8905, allocations: 1.594 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.8906, allocations: 4.469 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.8907, allocations: 5.172 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.8907, allocations: 6.141 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.8907, allocations: 102.6 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8907, allocations: 4.719 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002517/0.891, allocations: 22.77 kB / 1.095 GB, free: 0.8359 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.0001857/0.8912, allocations: 116.8 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.8914, allocations: 59.81 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8914, allocations: 3.938 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.8915, allocations: 26.94 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.8918, allocations: 14.97 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.8923, allocations: 228.4 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.8925, allocations: 0.6897 MB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.8925, allocations: 12.23 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/0.8925, allocations: 0.7188 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.003576/0.8961, allocations: 1.119 MB / 1.097 GB, free: 15.73 MB / 0.8731 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/jenkins1/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