Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008544, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006118/0.006118, allocations: 169.9 kB / 16.26 MB, free: 6.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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 10.91 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2525, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8199/1.072, allocations: 268.8 MB / 1.321 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01999/1.092, allocations: 17.29 MB / 1.338 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/1.095, allocations: 59.97 kB / 1.338 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/1.098, allocations: 0.9951 MB / 1.339 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007864/1.106, allocations: 2.925 MB / 1.342 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/1.111, allocations: 2.006 MB / 1.344 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007163/1.118, allocations: 6.758 MB / 1.351 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/1.121, allocations: 1.428 MB / 1.352 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006209/1.127, allocations: 2.065 MB / 1.354 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/1.131, allocations: 1.525 MB / 1.356 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005499/1.131, allocations: 79.5 kB / 1.356 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006956/1.138, allocations: 3.401 MB / 1.359 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/1.14, allocations: 0.6001 MB / 1.36 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/1.142, allocations: 0.9968 MB / 1.36 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006687/1.149, allocations: 3.855 MB / 1.364 GB, free: 15.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.149, allocations: 0 / 1.364 GB, free: 15.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/1.149, allocations: 0 / 1.364 GB, free: 15.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.73e-05/1.149, allocations: 4 kB / 1.364 GB, free: 15.86 MB / 1.014 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.004358/1.153, allocations: 2.028 MB / 1.366 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.153, allocations: 9.5 kB / 1.366 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004242/1.153, allocations: 201.1 kB / 1.366 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/1.158, allocations: 0.6493 MB / 1.367 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/1.16, allocations: 1.333 MB / 1.368 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/1.161, allocations: 111 kB / 1.368 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/1.161, allocations: 137 kB / 1.369 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/1.163, allocations: 1.571 MB / 1.37 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/1.164, allocations: 3.906 kB / 1.37 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/1.164, allocations: 54.44 kB / 1.37 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/1.164, allocations: 50.25 kB / 1.37 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/1.166, allocations: 1.269 MB / 1.371 GB, free: 13.32 MB / 1.014 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.008286/1.174, allocations: 7.227 MB / 1.379 GB, free: 8.426 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.175, allocations: 0.65 MB / 1.379 GB, free: 8.328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/1.175, allocations: 381.1 kB / 1.38 GB, free: 8.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/1.176, allocations: 103.2 kB / 1.38 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.176, allocations: 48.44 kB / 1.38 GB, free: 8.121 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008788/1.177, allocations: 148.8 kB / 1.38 GB, free: 8.051 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 6.663e-06/1.177, allocations: 3.594 kB / 1.38 GB, free: 8.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.001837/1.178, allocations: 1.024 MB / 1.381 GB, free: 7.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.178, allocations: 58.19 kB / 1.381 GB, free: 7.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/1.18, allocations: 1.343 MB / 1.382 GB, free: 7.004 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.18, allocations: 43.92 kB / 1.382 GB, free: 6.961 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/1.181, allocations: 0.7689 MB / 1.383 GB, free: 6.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.181, allocations: 244.3 kB / 1.383 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.181, allocations: 84.86 kB / 1.383 GB, free: 6.023 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.181, allocations: 343.6 kB / 1.384 GB, free: 5.691 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/1.182, allocations: 348.9 kB / 1.384 GB, free: 5.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/1.183, allocations: 0.6861 MB / 1.385 GB, free: 4.926 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.184, allocations: 0.9555 MB / 1.386 GB, free: 4.277 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.184, allocations: 2.562 kB / 1.386 GB, free: 4.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001855/1.186, allocations: 1.151 MB / 1.387 GB, free: 3.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/1.186, allocations: 296.1 kB / 1.387 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.186, allocations: 6.438 kB / 1.387 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.186, allocations: 15.67 kB / 1.387 GB, free: 3.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/1.187, allocations: 206.6 kB / 1.387 GB, free: 3.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/1.187, allocations: 20.7 kB / 1.387 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.189, allocations: 140.8 kB / 1.387 GB, free: 3.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/1.189, allocations: 47.3 kB / 1.387 GB, free: 3.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/1.189, allocations: 3.344 kB / 1.387 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/1.19, allocations: 0.9812 MB / 1.388 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.19, allocations: 9.25 kB / 1.388 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.19, allocations: 11.12 kB / 1.388 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/1.191, allocations: 210.3 kB / 1.389 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.191, allocations: 14.12 kB / 1.389 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.193, allocations: 141.4 kB / 1.389 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/1.193, allocations: 39.97 kB / 1.389 GB, free: 2.691 MB / 1.014 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.0008018/1.193, allocations: 0.4901 MB / 1.389 GB, free: 2.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/1.194, allocations: 152.2 kB / 1.389 GB, free: 2.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/1.195, allocations: 0.8265 MB / 1.39 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.195, allocations: 6.906 kB / 1.39 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.195, allocations: 2.719 kB / 1.39 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/1.196, allocations: 0.7879 MB / 1.391 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/1.2, allocations: 2.303 MB / 1.393 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.2, allocations: 0 / 1.393 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/1.201, allocations: 164.4 kB / 1.393 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/1.201, allocations: 2.875 kB / 1.393 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/1.201, allocations: 22.89 kB / 1.393 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.201, allocations: 13.88 kB / 1.393 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.201, allocations: 2.938 kB / 1.393 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.203, allocations: 1.262 MB / 1.395 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/1.204, allocations: 324.1 kB / 1.395 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/1.204, allocations: 14.84 kB / 1.395 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.205, allocations: 97.44 kB / 1.395 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/1.205, allocations: 50.28 kB / 1.395 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/1.205, allocations: 29.61 kB / 1.395 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001275/1.206, allocations: 0.909 MB / 1.396 GB, free: 14 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.4e-07/1.206, allocations: 0 / 1.396 GB, free: 14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002133/1.209, allocations: 0.8458 MB / 1.397 GB, free: 13.84 MB / 1.029 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.002301/1.211, allocations: 1.959 MB / 1.399 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00203/1.213, allocations: 1.331 MB / 1.4 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.213, allocations: 3.312 kB / 1.4 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004409/1.213, allocations: 345.8 kB / 1.4 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/1.218, allocations: 0.8505 MB / 1.401 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.236, allocations: 12.27 MB / 1.413 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.237, allocations: 1.349 MB / 1.415 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001849/1.239, allocations: 419 kB / 1.415 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008563/1.24, allocations: 0.6125 MB / 1.416 GB, free: 14.36 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/1.24, allocations: 0 / 1.416 GB, free: 14.36 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06787/1.308, allocations: 40.22 MB / 1.455 GB, free: 6.727 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.308, allocations: 253.8 kB / 1.455 GB, free: 6.469 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/4.05, allocations: 0 / 1.455 GB, free: 6.469 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches