Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001762/0.001762, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.09 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.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.05 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8464, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.3537/1.2, allocations: 274.6 MB / 1.357 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02551/1.226, allocations: 17.38 MB / 1.374 GB, free: 9.316 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/1.229, allocations: 67.62 kB / 1.374 GB, free: 9.25 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003686/1.232, allocations: 1.212 MB / 1.375 GB, free: 8.031 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009687/1.242, allocations: 3.216 MB / 1.378 GB, free: 4.805 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006487/1.249, allocations: 2.242 MB / 1.38 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007763/1.256, allocations: 4.85 MB / 1.385 GB, free: 13.7 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/1.26, allocations: 1.759 MB / 1.387 GB, free: 11.91 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/1.267, allocations: 2.508 MB / 1.389 GB, free: 9.406 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003478/1.27, allocations: 1.544 MB / 1.391 GB, free: 7.871 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007954/1.271, allocations: 192 kB / 1.391 GB, free: 7.684 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006421/1.277, allocations: 3.024 MB / 1.394 GB, free: 4.652 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/1.279, allocations: 0.7245 MB / 1.395 GB, free: 3.926 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00261/1.281, allocations: 1.116 MB / 1.396 GB, free: 2.805 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00844/1.29, allocations: 3.837 MB / 1.399 GB, free: 14.96 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.29, allocations: 0 / 1.399 GB, free: 14.96 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/1.29, allocations: 0 / 1.399 GB, free: 14.96 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001026/1.29, allocations: 0 / 1.399 GB, free: 14.96 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006028/1.296, allocations: 2.423 MB / 1.402 GB, free: 12.46 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.296, allocations: 8.031 kB / 1.402 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/1.301, allocations: 0.6494 MB / 1.402 GB, free: 11.8 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/1.304, allocations: 1.397 MB / 1.404 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.304, allocations: 102.5 kB / 1.404 GB, free: 10.25 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/1.305, allocations: 139.9 kB / 1.404 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/1.308, allocations: 1.573 MB / 1.406 GB, free: 8.473 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/1.308, allocations: 0 / 1.406 GB, free: 8.473 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/1.308, allocations: 63.94 kB / 1.406 GB, free: 8.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/1.308, allocations: 50.44 kB / 1.406 GB, free: 8.359 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/1.311, allocations: 1.27 MB / 1.407 GB, free: 7.082 MB / 1.139 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.01047/1.321, allocations: 7.195 MB / 1.414 GB, free: 15.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.323, allocations: 0.6508 MB / 1.415 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/1.323, allocations: 362.4 kB / 1.415 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/1.323, allocations: 109.6 kB / 1.415 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.323, allocations: 39.12 kB / 1.415 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006987/1.324, allocations: 103.1 kB / 1.415 GB, free: 14.03 MB / 1.154 GB Notification: Performance of pre-optimization done (n=67): time 5.239e-06/1.324, allocations: 0 / 1.415 GB, free: 14.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=67): time 0.002109/1.326, allocations: 1.02 MB / 1.416 GB, free: 13 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.326, allocations: 59.97 kB / 1.416 GB, free: 12.93 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.329, allocations: 1.335 MB / 1.418 GB, free: 11.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.329, allocations: 53.64 kB / 1.418 GB, free: 11.53 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/1.33, allocations: 0.7736 MB / 1.418 GB, free: 10.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/1.33, allocations: 244.6 kB / 1.419 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/1.33, allocations: 198.5 kB / 1.419 GB, free: 10.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.331, allocations: 349.9 kB / 1.419 GB, free: 9.957 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/1.331, allocations: 356.7 kB / 1.419 GB, free: 9.605 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008345/1.332, allocations: 0.683 MB / 1.42 GB, free: 8.781 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.333, allocations: 0.9525 MB / 1.421 GB, free: 7.738 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.333, allocations: 4 kB / 1.421 GB, free: 7.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002115/1.336, allocations: 1.156 MB / 1.422 GB, free: 6.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.336, allocations: 8 kB / 1.422 GB, free: 6.562 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.336, allocations: 8 kB / 1.422 GB, free: 6.555 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/1.336, allocations: 12 kB / 1.422 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/1.337, allocations: 207.7 kB / 1.422 GB, free: 6.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/1.337, allocations: 15.98 kB / 1.422 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.338, allocations: 50.58 kB / 1.422 GB, free: 6.277 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/1.338, allocations: 43.97 kB / 1.422 GB, free: 6.234 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/1.339, allocations: 0.6854 MB / 1.423 GB, free: 5.547 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000814/1.34, allocations: 0.6829 MB / 1.424 GB, free: 4.723 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001313/1.341, allocations: 0.9566 MB / 1.425 GB, free: 3.68 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/1.341, allocations: 4.109 kB / 1.425 GB, free: 3.676 MB / 1.154 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002094/1.344, allocations: 1.147 MB / 1.426 GB, free: 2.516 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.344, allocations: 8 kB / 1.426 GB, free: 2.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.344, allocations: 8 kB / 1.426 GB, free: 2.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.344, allocations: 12.75 kB / 1.426 GB, free: 2.488 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/1.344, allocations: 207.7 kB / 1.426 GB, free: 2.285 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.345, allocations: 16 kB / 1.426 GB, free: 2.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.346, allocations: 63.88 kB / 1.426 GB, free: 2.207 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/1.346, allocations: 40 kB / 1.426 GB, free: 2.168 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.346, allocations: 243.9 kB / 1.426 GB, free: 1.922 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/1.347, allocations: 154.1 kB / 1.427 GB, free: 1.77 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.348, allocations: 0.828 MB / 1.427 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.348, allocations: 8 kB / 1.427 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.348, allocations: 0 / 1.427 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/1.35, allocations: 0.7863 MB / 1.428 GB, free: 84 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/1.353, allocations: 2.298 MB / 1.43 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.353, allocations: 0 / 1.43 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/1.354, allocations: 167.8 kB / 1.431 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/1.354, allocations: 4 kB / 1.431 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/1.354, allocations: 28.11 kB / 1.431 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.354, allocations: 4 kB / 1.431 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.354, allocations: 0 / 1.431 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/1.357, allocations: 1.261 MB / 1.432 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/1.357, allocations: 327.1 kB / 1.432 GB, free: 11.87 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/1.358, allocations: 19.94 kB / 1.432 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.359, allocations: 34.22 kB / 1.432 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/1.359, allocations: 44.45 kB / 1.432 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/1.359, allocations: 35.91 kB / 1.432 GB, free: 11.74 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001499/1.36, allocations: 0.9122 MB / 1.433 GB, free: 10.83 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.91e-07/1.36, allocations: 0 / 1.433 GB, free: 10.83 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002265/1.363, allocations: 0.8379 MB / 1.434 GB, free: 9.988 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006306/1.363, allocations: 256.3 kB / 1.434 GB, free: 9.738 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002259/1.365, allocations: 1.334 MB / 1.436 GB, free: 8.41 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.365, allocations: 0.875 kB / 1.436 GB, free: 8.41 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005133/1.366, allocations: 355.1 kB / 1.436 GB, free: 8.059 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/1.37, allocations: 0.8392 MB / 1.437 GB, free: 7.23 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/1.375, allocations: 2.972 MB / 1.44 GB, free: 4.199 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.376, allocations: 1.348 MB / 1.441 GB, free: 2.824 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/1.377, allocations: 119.4 kB / 1.441 GB, free: 2.707 MB / 1.17 GB Notification: Performance of SimCode: time 6.41e-07/1.377, allocations: 0 / 1.441 GB, free: 2.707 MB / 1.17 GB Notification: Performance of Templates: time 0.03811/1.415, allocations: 25.25 MB / 1.466 GB, free: 9.648 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches