Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001501/0.001501, allocations: 114 kB / 16.42 MB, free: 6.402 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.001625/0.001625, allocations: 183.9 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8075, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.2935/1.101, allocations: 284.2 MB / 1.445 GB, free: 6.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03804/1.139, allocations: 23.14 MB / 1.468 GB, free: 15.39 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/1.143, allocations: 111.4 kB / 1.468 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006601/1.15, allocations: 2.555 MB / 1.47 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.163, allocations: 5.604 MB / 1.476 GB, free: 7.094 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006746/1.17, allocations: 2.768 MB / 1.478 GB, free: 4.336 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01463/1.184, allocations: 10.16 MB / 1.488 GB, free: 10.16 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004643/1.189, allocations: 2.67 MB / 1.491 GB, free: 7.422 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007627/1.197, allocations: 3.477 MB / 1.494 GB, free: 3.938 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/1.201, allocations: 2.228 MB / 1.496 GB, free: 1.707 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0009494/1.202, allocations: 292 kB / 1.497 GB, free: 1.422 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008758/1.211, allocations: 4.296 MB / 1.501 GB, free: 13.12 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001653/1.212, allocations: 1.106 MB / 1.502 GB, free: 12.01 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003322/1.216, allocations: 1.808 MB / 1.504 GB, free: 10.19 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/1.228, allocations: 6.4 MB / 1.51 GB, free: 3.773 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.228, allocations: 3.938 kB / 1.51 GB, free: 3.77 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.723e-06/1.228, allocations: 0 / 1.51 GB, free: 3.77 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001527/1.228, allocations: 0 / 1.51 GB, free: 3.77 MB / 1.232 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.01242/1.241, allocations: 3.985 MB / 1.514 GB, free: 15.71 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.241, allocations: 12.92 kB / 1.514 GB, free: 15.7 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/1.247, allocations: 0.8429 MB / 1.515 GB, free: 14.85 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006747/1.253, allocations: 3.286 MB / 1.518 GB, free: 11.49 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.254, allocations: 151.6 kB / 1.518 GB, free: 11.34 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/1.254, allocations: 188 kB / 1.518 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/1.259, allocations: 2.254 MB / 1.52 GB, free: 8.844 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/1.259, allocations: 4 kB / 1.52 GB, free: 8.84 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/1.26, allocations: 80 kB / 1.521 GB, free: 8.762 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-05/1.26, allocations: 83.47 kB / 1.521 GB, free: 8.68 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/1.263, allocations: 1.931 MB / 1.522 GB, free: 6.746 MB / 1.248 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.01437/1.278, allocations: 9.724 MB / 1.532 GB, free: 12.42 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/1.28, allocations: 1.085 MB / 1.533 GB, free: 11.34 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009799/1.281, allocations: 0.5824 MB / 1.534 GB, free: 10.76 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/1.282, allocations: 0.7048 MB / 1.534 GB, free: 9.902 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/1.282, allocations: 59.44 kB / 1.534 GB, free: 9.836 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001114/1.283, allocations: 162.3 kB / 1.534 GB, free: 9.676 MB / 1.264 GB Notification: Performance of pre-optimization done (n=99): time 4.388e-06/1.283, allocations: 0 / 1.534 GB, free: 9.676 MB / 1.264 GB Notification: Performance of matching and sorting (n=101): time 0.01019/1.293, allocations: 3.962 MB / 1.538 GB, free: 5.633 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.293, allocations: 64.39 kB / 1.538 GB, free: 5.555 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/1.297, allocations: 2.662 MB / 1.541 GB, free: 2.883 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/1.297, allocations: 49.7 kB / 1.541 GB, free: 2.828 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.298, allocations: 1.306 MB / 1.542 GB, free: 1.508 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/1.298, allocations: 366.8 kB / 1.543 GB, free: 1.145 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/1.299, allocations: 403 kB / 1.543 GB, free: 0.7461 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.299, allocations: 305.1 kB / 1.543 GB, free: 456 kB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/1.3, allocations: 0.6802 MB / 1.544 GB, free: 15.76 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.302, allocations: 1.251 MB / 1.545 GB, free: 14.28 MB / 1.279 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.0115/1.313, allocations: 3.819 MB / 1.549 GB, free: 10.23 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.313, allocations: 4 kB / 1.549 GB, free: 10.23 MB / 1.279 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004155/1.318, allocations: 2.344 MB / 1.551 GB, free: 7.875 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.318, allocations: 12 kB / 1.551 GB, free: 7.863 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/1.318, allocations: 16.53 kB / 1.551 GB, free: 7.848 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/1.319, allocations: 313.6 kB / 1.552 GB, free: 7.539 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.32, allocations: 351.5 kB / 1.552 GB, free: 7.195 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009869/1.321, allocations: 0.9564 MB / 1.553 GB, free: 6.215 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.323, allocations: 100.6 kB / 1.553 GB, free: 6.117 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.324, allocations: 83.98 kB / 1.553 GB, free: 6.035 MB / 1.279 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.002064/1.326, allocations: 1.273 MB / 1.554 GB, free: 4.758 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/1.327, allocations: 1.246 MB / 1.556 GB, free: 3.281 MB / 1.279 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.625/1.952, allocations: 3.807 MB / 1.559 GB, free: 382.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.942e-05/1.952, allocations: 8.531 kB / 1.559 GB, free: 382.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.004913/1.957, allocations: 2.337 MB / 1.562 GB, free: 382.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.957, allocations: 11.66 kB / 1.562 GB, free: 382.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/1.957, allocations: 15.67 kB / 1.562 GB, free: 382.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/1.959, allocations: 315.1 kB / 1.562 GB, free: 382.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.96, allocations: 351.9 kB / 1.562 GB, free: 382 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008856/1.961, allocations: 0.9647 MB / 1.563 GB, free: 381.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/1.963, allocations: 100.3 kB / 1.563 GB, free: 381.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.963, allocations: 79.38 kB / 1.563 GB, free: 381.3 MB / 1.279 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.0003853/1.963, allocations: 294.4 kB / 1.564 GB, free: 381 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/1.964, allocations: 278.4 kB / 1.564 GB, free: 381 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/1.966, allocations: 1.471 MB / 1.565 GB, free: 380.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/1.968, allocations: 1.052 MB / 1.566 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.968, allocations: 0 / 1.566 GB, free: 380 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/1.969, allocations: 472.9 kB / 1.567 GB, free: 379.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/1.969, allocations: 16.48 kB / 1.567 GB, free: 379.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.97, allocations: 52.08 kB / 1.567 GB, free: 379.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.97, allocations: 52.98 kB / 1.567 GB, free: 379.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002855/1.973, allocations: 1.41 MB / 1.568 GB, free: 379.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002534/1.976, allocations: 1.931 MB / 1.57 GB, free: 378.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006472/1.976, allocations: 491.5 kB / 1.571 GB, free: 378.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002299/1.979, allocations: 1.785 MB / 1.572 GB, free: 377.4 MB / 1.279 GB Notification: Performance of Backend: time 3.41e-07/1.979, allocations: 0 / 1.572 GB, free: 377.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006481/1.985, allocations: 3.384 MB / 1.576 GB, free: 376.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.009385/1.995, allocations: 6.202 MB / 1.582 GB, free: 373.5 MB / 1.279 GB Notification: Performance of Templates: time 0.08293/2.078, allocations: 66.84 MB / 1.647 GB, free: 308.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches