Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001626/0.001626, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 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.395/2.395, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7412, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.3003/1.042, allocations: 283.8 MB / 1.366 GB, free: 1.551 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0294/1.071, allocations: 21.34 MB / 1.387 GB, free: 12.16 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/1.074, allocations: 115.3 kB / 1.387 GB, free: 12.04 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004322/1.079, allocations: 1.729 MB / 1.388 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/1.091, allocations: 5.427 MB / 1.394 GB, free: 4.859 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/1.098, allocations: 2.706 MB / 1.396 GB, free: 2.16 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009576/1.107, allocations: 7.245 MB / 1.403 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004108/1.112, allocations: 2.623 MB / 1.406 GB, free: 8.203 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007784/1.119, allocations: 3.475 MB / 1.409 GB, free: 4.719 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003851/1.123, allocations: 2.169 MB / 1.412 GB, free: 2.551 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008359/1.124, allocations: 280 kB / 1.412 GB, free: 2.277 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008446/1.133, allocations: 4.124 MB / 1.416 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/1.134, allocations: 0.9581 MB / 1.417 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003169/1.137, allocations: 1.629 MB / 1.418 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/1.148, allocations: 5.792 MB / 1.424 GB, free: 5.738 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.148, allocations: 0 / 1.424 GB, free: 5.738 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.743e-06/1.148, allocations: 0 / 1.424 GB, free: 5.738 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001477/1.148, allocations: 4 kB / 1.424 GB, free: 5.734 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01032/1.158, allocations: 3.544 MB / 1.427 GB, free: 2.125 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.158, allocations: 8.031 kB / 1.427 GB, free: 2.117 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/1.164, allocations: 0.8316 MB / 1.428 GB, free: 1.281 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005803/1.17, allocations: 2.277 MB / 1.431 GB, free: 14.93 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/1.171, allocations: 147.6 kB / 1.431 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005721/1.171, allocations: 188 kB / 1.431 GB, free: 14.6 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/1.176, allocations: 2.257 MB / 1.433 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/1.176, allocations: 3.938 kB / 1.433 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/1.177, allocations: 76 kB / 1.433 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.168e-05/1.177, allocations: 75.52 kB / 1.433 GB, free: 12.13 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/1.181, allocations: 1.954 MB / 1.435 GB, free: 10.17 MB / 1.17 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.01619/1.197, allocations: 9.401 MB / 1.444 GB, free: 192 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/1.2, allocations: 1.115 MB / 1.445 GB, free: 15.06 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/1.201, allocations: 0.5975 MB / 1.446 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.202, allocations: 0.7087 MB / 1.447 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.202, allocations: 43.56 kB / 1.447 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001109/1.203, allocations: 154.5 kB / 1.447 GB, free: 13.41 MB / 1.186 GB Notification: Performance of pre-optimization done (n=100): time 5.841e-06/1.203, allocations: 0 / 1.447 GB, free: 13.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=102): time 0.01173/1.215, allocations: 4.053 MB / 1.451 GB, free: 9.273 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.215, allocations: 64.41 kB / 1.451 GB, free: 9.199 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/1.219, allocations: 2.074 MB / 1.453 GB, free: 7.105 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/1.219, allocations: 49.7 kB / 1.453 GB, free: 7.051 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.22, allocations: 1.171 MB / 1.454 GB, free: 5.863 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/1.22, allocations: 358.8 kB / 1.454 GB, free: 5.508 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/1.221, allocations: 291.3 kB / 1.455 GB, free: 5.215 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.221, allocations: 305.1 kB / 1.455 GB, free: 4.914 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.222, allocations: 0.5357 MB / 1.456 GB, free: 4.375 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/1.224, allocations: 1.04 MB / 1.457 GB, free: 3.113 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.236, allocations: 3.518 MB / 1.46 GB, free: 15.39 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/1.236, allocations: 4 kB / 1.46 GB, free: 15.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004005/1.24, allocations: 1.898 MB / 1.462 GB, free: 13.47 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/1.24, allocations: 15.94 kB / 1.462 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/1.24, allocations: 12 kB / 1.462 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/1.241, allocations: 314 kB / 1.462 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.242, allocations: 307.5 kB / 1.462 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/1.244, allocations: 0.9668 MB / 1.463 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.245, allocations: 78.7 kB / 1.463 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.246, allocations: 71.97 kB / 1.464 GB, free: 11.7 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001972/1.248, allocations: 0.9959 MB / 1.465 GB, free: 10.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001378/1.249, allocations: 1.024 MB / 1.466 GB, free: 9.457 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01149/1.261, allocations: 3.483 MB / 1.469 GB, free: 5.762 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.466e-05/1.261, allocations: 4 kB / 1.469 GB, free: 5.758 MB / 1.201 GB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.003888/1.264, allocations: 1.868 MB / 1.471 GB, free: 3.879 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.264, allocations: 12 kB / 1.471 GB, free: 3.867 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/1.265, allocations: 16 kB / 1.471 GB, free: 3.852 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/1.266, allocations: 315.4 kB / 1.471 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.267, allocations: 299.5 kB / 1.471 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/1.268, allocations: 0.9589 MB / 1.472 GB, free: 2.266 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.27, allocations: 80.61 kB / 1.472 GB, free: 2.188 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.27, allocations: 75.92 kB / 1.472 GB, free: 2.113 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (158): * Single equations (assignments): 155 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004184/1.271, allocations: 279.8 kB / 1.473 GB, free: 1.832 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.271, allocations: 237.1 kB / 1.473 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/1.274, allocations: 1.509 MB / 1.474 GB, free: 80 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001959/1.276, allocations: 1.094 MB / 1.475 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.276, allocations: 0 / 1.475 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.277, allocations: 422 kB / 1.476 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/1.278, allocations: 19.94 kB / 1.476 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.279, allocations: 43.97 kB / 1.476 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.279, allocations: 56.91 kB / 1.476 GB, free: 14.41 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003517/1.283, allocations: 1.444 MB / 1.477 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003201/1.286, allocations: 1.964 MB / 1.479 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008272/1.287, allocations: 0.4958 MB / 1.48 GB, free: 10.48 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002415/1.29, allocations: 1.404 MB / 1.481 GB, free: 9.07 MB / 1.217 GB Notification: Performance of Backend: time 2.825e-06/1.29, allocations: 0 / 1.481 GB, free: 9.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007551/1.297, allocations: 2.772 MB / 1.484 GB, free: 6.312 MB / 1.217 GB Notification: Performance of SimCode: time 0.01062/1.308, allocations: 5.386 MB / 1.489 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of Templates: time 0.09698/1.405, allocations: 61.03 MB / 1.549 GB, free: 4.508 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches