Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001096/0.001096, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001047/0.001047, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.341/1.341, 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 10.1.0-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 68.33 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3181, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7925/1.111, allocations: 274.6 MB / 1.287 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02389/1.135, allocations: 17.36 MB / 1.304 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/1.137, allocations: 75.5 kB / 1.304 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/1.14, allocations: 1.161 MB / 1.305 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00839/1.149, allocations: 3.108 MB / 1.308 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/1.154, allocations: 2.21 MB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006083/1.161, allocations: 4.843 MB / 1.315 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/1.163, allocations: 1.756 MB / 1.317 GB, free: 7.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/1.168, allocations: 2.422 MB / 1.319 GB, free: 4.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/1.171, allocations: 1.547 MB / 1.321 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/1.171, allocations: 192 kB / 1.321 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/1.177, allocations: 3.009 MB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007587/1.177, allocations: 0.7207 MB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/1.179, allocations: 1.12 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/1.184, allocations: 3.825 MB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.184, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/1.184, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.001e-05/1.184, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 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.004161/1.188, allocations: 2.432 MB / 1.332 GB, free: 8.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.189, allocations: 12.88 kB / 1.332 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/1.193, allocations: 0.6416 MB / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/1.196, allocations: 1.408 MB / 1.334 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/1.196, allocations: 102.5 kB / 1.334 GB, free: 5.848 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/1.196, allocations: 140 kB / 1.334 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/1.199, allocations: 1.561 MB / 1.335 GB, free: 4.082 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/1.199, allocations: 7.844 kB / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.199, allocations: 56 kB / 1.336 GB, free: 4.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/1.199, allocations: 50.39 kB / 1.336 GB, free: 3.969 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/1.201, allocations: 1.278 MB / 1.337 GB, free: 2.684 MB / 1.029 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.00898/1.21, allocations: 7.191 MB / 1.344 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/1.211, allocations: 0.6539 MB / 1.344 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/1.212, allocations: 370.1 kB / 1.345 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.212, allocations: 105.7 kB / 1.345 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.212, allocations: 47.02 kB / 1.345 GB, free: 9.727 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005604/1.212, allocations: 103.2 kB / 1.345 GB, free: 9.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=67): time 3.226e-06/1.212, allocations: 0 / 1.345 GB, free: 9.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.001877/1.214, allocations: 1.016 MB / 1.346 GB, free: 8.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.214, allocations: 59.97 kB / 1.346 GB, free: 8.531 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/1.216, allocations: 1.343 MB / 1.347 GB, free: 7.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/1.216, allocations: 45.7 kB / 1.347 GB, free: 7.129 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/1.217, allocations: 0.7775 MB / 1.348 GB, free: 6.344 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/1.217, allocations: 240.5 kB / 1.348 GB, free: 6.105 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/1.217, allocations: 198.5 kB / 1.349 GB, free: 5.902 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.217, allocations: 345.9 kB / 1.349 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/1.218, allocations: 356.7 kB / 1.349 GB, free: 5.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/1.219, allocations: 0.683 MB / 1.35 GB, free: 4.383 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.22, allocations: 0.9527 MB / 1.351 GB, free: 3.344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.22, allocations: 112 / 1.351 GB, free: 3.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001774/1.222, allocations: 1.16 MB / 1.352 GB, free: 2.176 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.222, allocations: 8 kB / 1.352 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.222, allocations: 4 kB / 1.352 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.222, allocations: 12 kB / 1.352 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/1.223, allocations: 211.7 kB / 1.352 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.223, allocations: 19.92 kB / 1.352 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.224, allocations: 57.55 kB / 1.352 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/1.224, allocations: 44 kB / 1.352 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001039/1.225, allocations: 0.6854 MB / 1.353 GB, free: 1.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007565/1.226, allocations: 0.6751 MB / 1.354 GB, free: 332 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00124/1.227, allocations: 0.9528 MB / 1.355 GB, free: 15.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/1.227, allocations: 3.938 kB / 1.355 GB, free: 15.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001731/1.229, allocations: 1.148 MB / 1.356 GB, free: 14.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.229, allocations: 8 kB / 1.356 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.229, allocations: 8 kB / 1.356 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.229, allocations: 8 kB / 1.356 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/1.23, allocations: 208.4 kB / 1.356 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/1.23, allocations: 23.92 kB / 1.356 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.231, allocations: 50 kB / 1.356 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/1.231, allocations: 43.98 kB / 1.356 GB, free: 13.77 MB / 1.061 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.0002592/1.231, allocations: 254 kB / 1.356 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.232, allocations: 146.2 kB / 1.356 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.233, allocations: 0.8279 MB / 1.357 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.233, allocations: 8 kB / 1.357 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.233, allocations: 0 / 1.357 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009912/1.234, allocations: 0.7862 MB / 1.358 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/1.237, allocations: 2.302 MB / 1.36 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.237, allocations: 4 kB / 1.36 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/1.238, allocations: 171.8 kB / 1.36 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/1.238, allocations: 4 kB / 1.36 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/1.238, allocations: 16.12 kB / 1.361 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.238, allocations: 8 kB / 1.361 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.238, allocations: 4 kB / 1.361 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/1.24, allocations: 1.261 MB / 1.362 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/1.241, allocations: 311.3 kB / 1.362 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/1.241, allocations: 23.94 kB / 1.362 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/1.242, allocations: 34.14 kB / 1.362 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/1.242, allocations: 48.5 kB / 1.362 GB, free: 7.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/1.242, allocations: 28.11 kB / 1.362 GB, free: 7.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001238/1.243, allocations: 0.9122 MB / 1.363 GB, free: 6.449 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.01e-07/1.243, allocations: 0 / 1.363 GB, free: 6.449 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00181/1.245, allocations: 0.8417 MB / 1.364 GB, free: 5.605 MB / 1.061 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.0005201/1.246, allocations: 262.8 kB / 1.364 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002116/1.248, allocations: 1.334 MB / 1.365 GB, free: 4.016 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.248, allocations: 0.8125 kB / 1.365 GB, free: 4.016 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/1.248, allocations: 351.3 kB / 1.366 GB, free: 3.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/1.252, allocations: 0.8477 MB / 1.367 GB, free: 2.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/1.256, allocations: 2.892 MB / 1.369 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.257, allocations: 1.348 MB / 1.371 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001444/1.258, allocations: 416.3 kB / 1.371 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.259, allocations: 111.4 kB / 1.371 GB, free: 13.99 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.259, allocations: 0 / 1.371 GB, free: 13.99 MB / 1.076 GB Notification: Performance of Templates: time 0.04618/1.305, allocations: 29.04 MB / 1.4 GB, free: 1.352 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches