Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.0008118/0.0008117, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008512/0.0008513, allocations: 168.7 kB / 15.95 MB, free: 204 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.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 15.94 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5755, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7257/1.301, allocations: 231.9 MB / 1.249 GB, free: 21.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02157/1.323, allocations: 16.9 MB / 1.265 GB, free: 20.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/1.326, allocations: 71.59 kB / 1.265 GB, free: 20.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/1.328, allocations: 0.7365 MB / 1.266 GB, free: 20.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008706/1.337, allocations: 2.808 MB / 1.269 GB, free: 20.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/1.341, allocations: 1.358 MB / 1.27 GB, free: 20.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007039/1.348, allocations: 5.806 MB / 1.276 GB, free: 20.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/1.35, allocations: 1.304 MB / 1.277 GB, free: 20.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/1.354, allocations: 1.752 MB / 1.279 GB, free: 20.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/1.356, allocations: 1.404 MB / 1.28 GB, free: 20.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/1.357, allocations: 68.59 kB / 1.28 GB, free: 20.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004187/1.361, allocations: 1.548 MB / 1.282 GB, free: 20.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/1.361, allocations: 465.1 kB / 1.282 GB, free: 20.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006114/1.362, allocations: 435.5 kB / 1.283 GB, free: 20.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/1.364, allocations: 2.593 MB / 1.285 GB, free: 20.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.364, allocations: 0 / 1.285 GB, free: 20.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/1.364, allocations: 0 / 1.285 GB, free: 20.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.184e-05/1.364, allocations: 0 / 1.285 GB, free: 20.25 MB / 0.9825 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.00323/1.368, allocations: 2.129 MB / 1.287 GB, free: 19.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/1.368, allocations: 12.64 kB / 1.287 GB, free: 19.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/1.369, allocations: 379 kB / 1.288 GB, free: 18.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/1.371, allocations: 1.367 MB / 1.289 GB, free: 18.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/1.371, allocations: 107.2 kB / 1.289 GB, free: 18.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.371, allocations: 138.6 kB / 1.289 GB, free: 18.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.374, allocations: 1.51 MB / 1.291 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/1.374, allocations: 4.406 kB / 1.291 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.374, allocations: 55.94 kB / 1.291 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/1.374, allocations: 56.16 kB / 1.291 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.376, allocations: 1.152 MB / 1.292 GB, free: 18.37 MB / 0.9825 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.006316/1.382, allocations: 7.188 MB / 1.299 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.383, allocations: 0.8257 MB / 1.3 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/1.384, allocations: 452.9 kB / 1.3 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006908/1.384, allocations: 0.729 MB / 1.301 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.384, allocations: 42 kB / 1.301 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=74): time 2.886e-06/1.384, allocations: 0 / 1.301 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74): time 0.005627/1.39, allocations: 2.129 MB / 1.303 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/1.39, allocations: 60.34 kB / 1.303 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.392, allocations: 1.297 MB / 1.304 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/1.392, allocations: 45.33 kB / 1.304 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/1.392, allocations: 0.8034 MB / 1.305 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.392, allocations: 258.5 kB / 1.305 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/1.392, allocations: 16.38 kB / 1.305 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/1.392, allocations: 344.2 kB / 1.306 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/1.393, allocations: 332.8 kB / 1.306 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/1.393, allocations: 0.5662 MB / 1.307 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/1.394, allocations: 419.7 kB / 1.307 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.394, allocations: 0 / 1.307 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002055/1.396, allocations: 1.257 MB / 1.308 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/1.396, allocations: 244.4 kB / 1.309 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.396, allocations: 1.812 kB / 1.309 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/1.398, allocations: 421.3 kB / 1.309 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/1.399, allocations: 160 kB / 1.309 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/1.4, allocations: 2.047 MB / 1.311 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.401, allocations: 197.4 kB / 1.311 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/1.401, allocations: 43.09 kB / 1.311 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/1.401, allocations: 3.312 kB / 1.311 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/1.403, allocations: 1.057 MB / 1.312 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.403, allocations: 6.547 kB / 1.312 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/1.404, allocations: 370 kB / 1.313 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/1.404, allocations: 163.2 kB / 1.313 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/1.407, allocations: 3.852 MB / 1.317 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.408, allocations: 171.9 kB / 1.317 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/1.408, allocations: 43.25 kB / 1.317 GB, free: 6.234 MB / 0.9825 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.000662/1.409, allocations: 471.3 kB / 1.317 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.409, allocations: 153.1 kB / 1.317 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/1.411, allocations: 1.219 MB / 1.319 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.411, allocations: 5.844 kB / 1.319 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/1.411, allocations: 3.312 kB / 1.319 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002022/1.414, allocations: 1.301 MB / 1.32 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/1.417, allocations: 2.772 MB / 1.323 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.417, allocations: 2.906 kB / 1.323 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/1.418, allocations: 105 kB / 1.323 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/1.419, allocations: 364.9 kB / 1.323 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/1.419, allocations: 16.69 kB / 1.323 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/1.42, allocations: 2.041 MB / 1.325 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.42, allocations: 3.062 kB / 1.325 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/1.422, allocations: 1.228 MB / 1.326 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/1.422, allocations: 341.3 kB / 1.327 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/1.423, allocations: 20.36 kB / 1.327 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/1.424, allocations: 115.4 kB / 1.327 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/1.424, allocations: 57.28 kB / 1.327 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/1.424, allocations: 27.91 kB / 1.327 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009878/1.425, allocations: 0.8797 MB / 1.328 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.22e-07/1.425, allocations: 0 / 1.328 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00229/1.427, allocations: 0.9023 MB / 1.329 GB, free: 2.434 MB / 0.9825 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.0006202/1.428, allocations: 360.7 kB / 1.329 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002839/1.43, allocations: 1.666 MB / 1.331 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.43, allocations: 4.062 kB / 1.331 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008834/1.431, allocations: 482.2 kB / 1.331 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.435, allocations: 0.7879 MB / 1.332 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/1.438, allocations: 3.245 MB / 1.335 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/1.439, allocations: 1.34 MB / 1.336 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0013/1.44, allocations: 330 kB / 1.337 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/1.441, allocations: 97.11 kB / 1.337 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.441, allocations: 0 / 1.337 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04685/1.487, allocations: 30.13 MB / 1.366 GB, free: 11.46 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches