Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00155/0.00155, allocations: 109.7 kB / 16.38 MB, free: 6.477 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.001546/0.001546, allocations: 191.3 kB / 17.31 MB, free: 5.82 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.405/2.405, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.05 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3484, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.828/1.176, allocations: 284.2 MB / 1.304 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03868/1.215, allocations: 23.14 MB / 1.327 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/1.22, allocations: 119.4 kB / 1.327 GB, free: 9.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007328/1.227, allocations: 2.498 MB / 1.329 GB, free: 7.066 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01427/1.241, allocations: 5.379 MB / 1.335 GB, free: 1.664 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008363/1.25, allocations: 2.784 MB / 1.337 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01623/1.266, allocations: 10.13 MB / 1.347 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004992/1.271, allocations: 2.665 MB / 1.35 GB, free: 2.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008355/1.279, allocations: 3.356 MB / 1.353 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/1.284, allocations: 2.251 MB / 1.355 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/1.286, allocations: 292 kB / 1.356 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/1.296, allocations: 4.28 MB / 1.36 GB, free: 7.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002021/1.298, allocations: 1.102 MB / 1.361 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003919/1.302, allocations: 1.808 MB / 1.363 GB, free: 4.918 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.314, allocations: 6.396 MB / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.314, allocations: 0 / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/1.314, allocations: 0 / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001673/1.314, allocations: 4 kB / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01107/1.325, allocations: 3.981 MB / 1.373 GB, free: 10.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.325, allocations: 8.031 kB / 1.373 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005541/1.331, allocations: 0.8428 MB / 1.374 GB, free: 9.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006596/1.337, allocations: 3.305 MB / 1.377 GB, free: 6.215 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/1.338, allocations: 147.6 kB / 1.377 GB, free: 6.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005669/1.338, allocations: 188 kB / 1.377 GB, free: 5.887 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005191/1.343, allocations: 2.25 MB / 1.379 GB, free: 3.574 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/1.343, allocations: 0 / 1.379 GB, free: 3.574 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/1.344, allocations: 80 kB / 1.38 GB, free: 3.496 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-05/1.344, allocations: 79.47 kB / 1.38 GB, free: 3.418 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/1.348, allocations: 1.927 MB / 1.381 GB, free: 1.488 MB / 1.076 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.0158/1.364, allocations: 9.728 MB / 1.391 GB, free: 7.156 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/1.366, allocations: 1.088 MB / 1.392 GB, free: 6.066 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009711/1.367, allocations: 0.5785 MB / 1.393 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008772/1.368, allocations: 0.7087 MB / 1.393 GB, free: 4.633 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.368, allocations: 47.5 kB / 1.393 GB, free: 4.578 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001162/1.369, allocations: 183 kB / 1.394 GB, free: 4.398 MB / 1.092 GB Notification: Performance of pre-optimization done (n=99): time 5.881e-06/1.369, allocations: 0 / 1.394 GB, free: 4.398 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.01083/1.38, allocations: 3.962 MB / 1.397 GB, free: 364 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.38, allocations: 60.41 kB / 1.397 GB, free: 288 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/1.384, allocations: 2.67 MB / 1.4 GB, free: 13.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.385, allocations: 45.7 kB / 1.4 GB, free: 13.55 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.386, allocations: 1.302 MB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/1.386, allocations: 366.8 kB / 1.402 GB, free: 11.87 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006092/1.387, allocations: 399.1 kB / 1.402 GB, free: 11.47 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.387, allocations: 305.1 kB / 1.402 GB, free: 11.17 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/1.388, allocations: 0.688 MB / 1.403 GB, free: 10.48 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/1.39, allocations: 1.254 MB / 1.404 GB, free: 9 MB / 1.107 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.01115/1.401, allocations: 3.822 MB / 1.408 GB, free: 4.953 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/1.401, allocations: 8 kB / 1.408 GB, free: 4.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004289/1.405, allocations: 2.329 MB / 1.41 GB, free: 2.605 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.405, allocations: 12 kB / 1.41 GB, free: 2.594 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.405, allocations: 16 kB / 1.41 GB, free: 2.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.406, allocations: 314.5 kB / 1.411 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.408, allocations: 351.5 kB / 1.411 GB, free: 1.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/1.409, allocations: 0.963 MB / 1.412 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.411, allocations: 92.14 kB / 1.412 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/1.411, allocations: 79.98 kB / 1.412 GB, free: 0.7695 MB / 1.107 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.00241/1.414, allocations: 1.279 MB / 1.413 GB, free: 15.49 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001651/1.415, allocations: 1.246 MB / 1.415 GB, free: 14 MB / 1.123 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.01127/1.427, allocations: 3.821 MB / 1.418 GB, free: 9.961 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-05/1.427, allocations: 4 kB / 1.418 GB, free: 9.957 MB / 1.123 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.004267/1.431, allocations: 2.34 MB / 1.421 GB, free: 7.605 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.431, allocations: 14.5 kB / 1.421 GB, free: 7.594 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.431, allocations: 16 kB / 1.421 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/1.432, allocations: 317.6 kB / 1.421 GB, free: 7.266 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.434, allocations: 351.5 kB / 1.421 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/1.435, allocations: 0.9566 MB / 1.422 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.437, allocations: 99.91 kB / 1.422 GB, free: 5.844 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.437, allocations: 83.98 kB / 1.422 GB, free: 5.762 MB / 1.123 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: 68 * 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 (192): * Single equations (assignments): 188 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0004478/1.438, allocations: 287.7 kB / 1.423 GB, free: 5.473 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/1.438, allocations: 280.5 kB / 1.423 GB, free: 5.195 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/1.441, allocations: 1.464 MB / 1.424 GB, free: 3.711 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/1.443, allocations: 1.051 MB / 1.425 GB, free: 2.648 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.443, allocations: 0 / 1.425 GB, free: 2.648 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.444, allocations: 481.4 kB / 1.426 GB, free: 2.156 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/1.445, allocations: 19.94 kB / 1.426 GB, free: 2.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.446, allocations: 51.91 kB / 1.426 GB, free: 2.086 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.446, allocations: 52.91 kB / 1.426 GB, free: 2.031 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003293/1.449, allocations: 1.41 MB / 1.427 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0031/1.452, allocations: 1.932 MB / 1.429 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007626/1.453, allocations: 491.7 kB / 1.43 GB, free: 14.18 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003081/1.456, allocations: 1.784 MB / 1.431 GB, free: 12.4 MB / 1.139 GB Notification: Performance of Backend: time 4.61e-07/1.456, allocations: 0 / 1.431 GB, free: 12.4 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008196/1.465, allocations: 3.384 MB / 1.435 GB, free: 9.035 MB / 1.139 GB Notification: Performance of SimCode: time 0.01203/1.477, allocations: 6.213 MB / 1.441 GB, free: 2.805 MB / 1.139 GB Notification: Performance of Templates: time 0.1001/1.577, allocations: 66.31 MB / 1.506 GB, free: 1.176 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches