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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_10_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.0009914/0.0009912, allocations: 90.52 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.008715/0.008715, allocations: 171.1 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.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.665/2.665, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 12 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.6563, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8923/1.549, allocations: 268.8 MB / 1.286 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02041/1.569, allocations: 17.28 MB / 1.303 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002644/1.572, allocations: 61.5 kB / 1.303 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/1.575, allocations: 0.9935 MB / 1.304 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007781/1.582, allocations: 2.931 MB / 1.306 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006203/1.589, allocations: 2.007 MB / 1.308 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008441/1.597, allocations: 6.755 MB / 1.315 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/1.6, allocations: 1.437 MB / 1.316 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006012/1.606, allocations: 2.06 MB / 1.318 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/1.609, allocations: 1.521 MB / 1.32 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003656/1.61, allocations: 75 kB / 1.32 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007214/1.617, allocations: 3.409 MB / 1.323 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009799/1.618, allocations: 0.5968 MB / 1.324 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/1.62, allocations: 0.9972 MB / 1.325 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006621/1.626, allocations: 3.854 MB / 1.329 GB, free: 16.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/1.626, allocations: 4 kB / 1.329 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.975e-06/1.626, allocations: 2.625 kB / 1.329 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.044e-05/1.627, allocations: 0 / 1.329 GB, free: 16.82 MB / 0.9981 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.00367/1.63, allocations: 2.032 MB / 1.331 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.63, allocations: 11.52 kB / 1.331 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002584/1.631, allocations: 196.8 kB / 1.331 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/1.635, allocations: 0.6487 MB / 1.331 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/1.637, allocations: 1.335 MB / 1.333 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/1.637, allocations: 105.7 kB / 1.333 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/1.637, allocations: 136.7 kB / 1.333 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/1.64, allocations: 1.571 MB / 1.334 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/1.64, allocations: 3.906 kB / 1.334 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.64, allocations: 58.09 kB / 1.335 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/1.64, allocations: 51.55 kB / 1.335 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.642, allocations: 1.268 MB / 1.336 GB, free: 14.87 MB / 0.9981 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.008398/1.65, allocations: 7.226 MB / 1.343 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/1.651, allocations: 0.6507 MB / 1.344 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/1.652, allocations: 375.4 kB / 1.344 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/1.652, allocations: 99.77 kB / 1.344 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.652, allocations: 49.98 kB / 1.344 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007957/1.653, allocations: 140.4 kB / 1.344 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/1.653, allocations: 6.297 kB / 1.344 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.001775/1.655, allocations: 1.026 MB / 1.345 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.655, allocations: 58.03 kB / 1.345 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.656, allocations: 1.339 MB / 1.347 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/1.656, allocations: 47.05 kB / 1.347 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/1.657, allocations: 0.7734 MB / 1.347 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.657, allocations: 244.8 kB / 1.348 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.657, allocations: 92.97 kB / 1.348 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.657, allocations: 342.4 kB / 1.348 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/1.658, allocations: 352.2 kB / 1.348 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/1.659, allocations: 0.6723 MB / 1.349 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.66, allocations: 0.9515 MB / 1.35 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/1.66, allocations: 2.75 kB / 1.35 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002344/1.662, allocations: 1.155 MB / 1.351 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002953/1.663, allocations: 297.1 kB / 1.351 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.663, allocations: 6.281 kB / 1.351 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.663, allocations: 12.5 kB / 1.351 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/1.664, allocations: 213 kB / 1.352 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.664, allocations: 19.02 kB / 1.352 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.665, allocations: 145.3 kB / 1.352 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/1.665, allocations: 41.36 kB / 1.352 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/1.666, allocations: 3.375 kB / 1.352 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/1.667, allocations: 0.9851 MB / 1.353 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.667, allocations: 9.312 kB / 1.353 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.667, allocations: 9.969 kB / 1.353 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/1.668, allocations: 207.9 kB / 1.353 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.668, allocations: 18.7 kB / 1.353 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.669, allocations: 142.9 kB / 1.353 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/1.669, allocations: 37.53 kB / 1.353 GB, free: 7.004 MB / 0.9981 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.0008742/1.67, allocations: 0.4969 MB / 1.354 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/1.67, allocations: 150.4 kB / 1.354 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/1.672, allocations: 0.8233 MB / 1.355 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.672, allocations: 7.438 kB / 1.355 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.672, allocations: 3.938 kB / 1.355 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000958/1.673, allocations: 0.7886 MB / 1.355 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/1.676, allocations: 2.305 MB / 1.358 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.676, allocations: 0 / 1.358 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/1.677, allocations: 171.5 kB / 1.358 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.677, allocations: 3.375 kB / 1.358 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/1.677, allocations: 20.81 kB / 1.358 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.677, allocations: 2.906 kB / 1.358 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.677, allocations: 5.625 kB / 1.358 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.679, allocations: 1.256 MB / 1.359 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/1.679, allocations: 320.8 kB / 1.359 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.679, allocations: 14.72 kB / 1.359 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.681, allocations: 103.4 kB / 1.359 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/1.681, allocations: 40.08 kB / 1.359 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.227e-05/1.681, allocations: 33.67 kB / 1.359 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001218/1.682, allocations: 0.9096 MB / 1.36 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.682, allocations: 0 / 1.36 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001922/1.684, allocations: 0.8563 MB / 1.361 GB, free: 2.152 MB / 0.9981 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.002394/1.686, allocations: 1.961 MB / 1.363 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.688, allocations: 1.322 MB / 1.364 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.688, allocations: 11.77 kB / 1.364 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004358/1.689, allocations: 344.8 kB / 1.365 GB, free: 124 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.693, allocations: 0.8389 MB / 1.366 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.711, allocations: 12.28 MB / 1.378 GB, free: 7.332 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.712, allocations: 1.349 MB / 1.379 GB, free: 5.953 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001976/1.714, allocations: 420.4 kB / 1.379 GB, free: 5.535 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008929/1.715, allocations: 0.6189 MB / 1.38 GB, free: 4.918 MB / 1.014 GB Notification: Performance of SimCode: time 1.323e-06/1.715, allocations: 0 / 1.38 GB, free: 4.918 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/1.789, allocations: 40.2 MB / 1.419 GB, free: 13.29 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.789, allocations: 263.7 kB / 1.419 GB, free: 13.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/4.686, allocations: 0 / 1.419 GB, free: 13.02 MB / 1.061 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > 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