Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001442/0.001442, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 17.86 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7543/1.011, allocations: 231.9 MB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02157/1.032, allocations: 16.9 MB / 1.301 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/1.035, allocations: 70.84 kB / 1.301 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00226/1.037, allocations: 0.7338 MB / 1.302 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008206/1.046, allocations: 2.811 MB / 1.305 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/1.05, allocations: 1.356 MB / 1.306 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007414/1.057, allocations: 5.807 MB / 1.312 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/1.06, allocations: 1.296 MB / 1.313 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/1.064, allocations: 1.75 MB / 1.315 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/1.066, allocations: 1.406 MB / 1.316 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/1.067, allocations: 67.97 kB / 1.316 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/1.071, allocations: 1.55 MB / 1.317 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004762/1.071, allocations: 463.1 kB / 1.318 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000595/1.072, allocations: 435 kB / 1.318 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/1.075, allocations: 2.594 MB / 1.321 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.075, allocations: 1.094 kB / 1.321 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.075, allocations: 0 / 1.321 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.214e-05/1.075, allocations: 0 / 1.321 GB, free: 5.648 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003802/1.078, allocations: 2.128 MB / 1.323 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/1.078, allocations: 9.625 kB / 1.323 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/1.08, allocations: 376.5 kB / 1.323 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/1.082, allocations: 1.37 MB / 1.325 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/1.082, allocations: 109.4 kB / 1.325 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.082, allocations: 142.9 kB / 1.325 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/1.084, allocations: 1.504 MB / 1.326 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/1.084, allocations: 2.625 kB / 1.326 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.085, allocations: 55.81 kB / 1.326 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/1.085, allocations: 52.08 kB / 1.326 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.086, allocations: 1.158 MB / 1.328 GB, free: 19.77 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/1.093, allocations: 7.195 MB / 1.335 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.094, allocations: 0.8278 MB / 1.335 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/1.095, allocations: 452 kB / 1.336 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007941/1.096, allocations: 0.7303 MB / 1.337 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.096, allocations: 44.94 kB / 1.337 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=74): time 2.575e-06/1.096, allocations: 0 / 1.337 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=74): time 0.005621/1.101, allocations: 2.129 MB / 1.339 GB, free: 14.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/1.102, allocations: 57.81 kB / 1.339 GB, free: 14.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.103, allocations: 1.299 MB / 1.34 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/1.103, allocations: 44.59 kB / 1.34 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/1.103, allocations: 0.8017 MB / 1.341 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/1.104, allocations: 267.3 kB / 1.341 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/1.104, allocations: 16.34 kB / 1.341 GB, free: 13.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.104, allocations: 337 kB / 1.341 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/1.104, allocations: 333 kB / 1.342 GB, free: 13.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/1.105, allocations: 0.5667 MB / 1.342 GB, free: 13.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/1.106, allocations: 411.9 kB / 1.343 GB, free: 13.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.106, allocations: 2.594 kB / 1.343 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002061/1.108, allocations: 1.264 MB / 1.344 GB, free: 12.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-05/1.108, allocations: 237.5 kB / 1.344 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.108, allocations: 5.219 kB / 1.344 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/1.109, allocations: 418.7 kB / 1.345 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/1.11, allocations: 156.7 kB / 1.345 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/1.111, allocations: 2.062 MB / 1.347 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.113, allocations: 189.5 kB / 1.347 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/1.113, allocations: 42.33 kB / 1.347 GB, free: 10.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/1.113, allocations: 3.375 kB / 1.347 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001651/1.114, allocations: 1.062 MB / 1.348 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.114, allocations: 8.969 kB / 1.348 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/1.116, allocations: 370.2 kB / 1.348 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/1.116, allocations: 157.3 kB / 1.348 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/1.119, allocations: 3.853 MB / 1.352 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.12, allocations: 179.2 kB / 1.352 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/1.12, allocations: 33.47 kB / 1.352 GB, free: 7.539 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007408/1.121, allocations: 480.5 kB / 1.353 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/1.121, allocations: 154.4 kB / 1.353 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.124, allocations: 1.21 MB / 1.354 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.124, allocations: 12.73 kB / 1.354 GB, free: 7.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.124, allocations: 4 kB / 1.354 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002072/1.126, allocations: 1.296 MB / 1.356 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/1.13, allocations: 2.771 MB / 1.358 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.13, allocations: 2.906 kB / 1.358 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/1.13, allocations: 104.7 kB / 1.358 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/1.132, allocations: 374.5 kB / 1.359 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/1.132, allocations: 12.66 kB / 1.359 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/1.133, allocations: 2.029 MB / 1.361 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.133, allocations: 5.125 kB / 1.361 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.135, allocations: 1.226 MB / 1.362 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/1.135, allocations: 342.8 kB / 1.362 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/1.135, allocations: 16.95 kB / 1.362 GB, free: 3.566 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/1.136, allocations: 122 kB / 1.362 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/1.136, allocations: 52.52 kB / 1.362 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/1.136, allocations: 29.42 kB / 1.362 GB, free: 3.496 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001035/1.137, allocations: 0.8788 MB / 1.363 GB, free: 3.246 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.137, allocations: 4 kB / 1.363 GB, free: 3.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002797/1.14, allocations: 0.9016 MB / 1.364 GB, free: 3.102 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008213/1.141, allocations: 364.8 kB / 1.365 GB, free: 2.938 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003094/1.144, allocations: 1.669 MB / 1.366 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.144, allocations: 4.594 kB / 1.366 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009185/1.145, allocations: 475.4 kB / 1.367 GB, free: 2.387 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.149, allocations: 0.7886 MB / 1.367 GB, free: 2.121 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/1.153, allocations: 3.25 MB / 1.371 GB, free: 212 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/1.154, allocations: 1.344 MB / 1.372 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00135/1.155, allocations: 321.9 kB / 1.372 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/1.155, allocations: 93.84 kB / 1.372 GB, free: 15.09 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.155, allocations: 0 / 1.372 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Templates: time 0.04745/1.203, allocations: 30.14 MB / 1.402 GB, free: 10.73 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches