Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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: translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 68.98 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3325, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2151/0.5477, allocations: 196.8 MB / 1.245 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6916/1.239, allocations: 3.772 MB / 1.249 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/1.24, allocations: 25.62 kB / 1.249 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/1.242, allocations: 376.5 kB / 1.249 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/1.245, allocations: 1.173 MB / 1.25 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/1.247, allocations: 0.6637 MB / 1.251 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002584/1.25, allocations: 1.835 MB / 1.253 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/1.25, allocations: 442.8 kB / 1.253 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/1.254, allocations: 0.8894 MB / 1.254 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/1.254, allocations: 485.4 kB / 1.254 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/1.254, allocations: 25.41 kB / 1.254 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/1.257, allocations: 1.318 MB / 1.256 GB, free: 20.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/1.257, allocations: 182.9 kB / 1.256 GB, free: 20.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004326/1.258, allocations: 309.2 kB / 1.256 GB, free: 20.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/1.259, allocations: 0.8484 MB / 1.257 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.259, allocations: 5.797 kB / 1.257 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.414e-06/1.259, allocations: 0 / 1.257 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.259, allocations: 1.094 kB / 1.257 GB, free: 20.57 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002244/1.262, allocations: 1.046 MB / 1.258 GB, free: 19.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.262, allocations: 13.2 kB / 1.258 GB, free: 19.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/1.263, allocations: 220.3 kB / 1.258 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/1.264, allocations: 0.5357 MB / 1.259 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/1.264, allocations: 32.33 kB / 1.259 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/1.264, allocations: 41.25 kB / 1.259 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.265, allocations: 0.5415 MB / 1.259 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.265, allocations: 3.297 kB / 1.259 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/1.265, allocations: 14.38 kB / 1.259 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/1.265, allocations: 16.53 kB / 1.259 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.266, allocations: 0.5103 MB / 1.26 GB, free: 19.51 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.003133/1.269, allocations: 2.219 MB / 1.262 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/1.27, allocations: 349.2 kB / 1.262 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/1.27, allocations: 139.4 kB / 1.262 GB, free: 18.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.272, allocations: 0.8469 MB / 1.263 GB, free: 17.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/1.272, allocations: 193.9 kB / 1.263 GB, free: 17.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/1.272, allocations: 1.094 kB / 1.263 GB, free: 17.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001001/1.273, allocations: 436.8 kB / 1.264 GB, free: 17.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.273, allocations: 90.58 kB / 1.264 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/1.274, allocations: 0.6454 MB / 1.265 GB, free: 16.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/1.274, allocations: 31.7 kB / 1.265 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/1.274, allocations: 321.8 kB / 1.265 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/1.274, allocations: 93.27 kB / 1.265 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.275, allocations: 78.34 kB / 1.265 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.275, allocations: 370.8 kB / 1.265 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.275, allocations: 133.2 kB / 1.266 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/1.276, allocations: 291.5 kB / 1.266 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/1.276, allocations: 385.5 kB / 1.266 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.276, allocations: 0.75 kB / 1.266 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001095/1.277, allocations: 472.1 kB / 1.267 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.277, allocations: 12.16 kB / 1.267 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.277, allocations: 4.062 kB / 1.267 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.277, allocations: 6.781 kB / 1.267 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/1.278, allocations: 90.86 kB / 1.267 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/1.278, allocations: 10.16 kB / 1.267 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/1.279, allocations: 80.98 kB / 1.267 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/1.279, allocations: 19.77 kB / 1.267 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005756/1.279, allocations: 296.4 kB / 1.267 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004704/1.28, allocations: 272.7 kB / 1.267 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006335/1.28, allocations: 384 kB / 1.268 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/1.28, allocations: 6 kB / 1.268 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001043/1.281, allocations: 475.9 kB / 1.268 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.281, allocations: 7.531 kB / 1.268 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.281, allocations: 8.188 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/1.281, allocations: 8.703 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/1.282, allocations: 83.19 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.282, allocations: 9.922 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/1.283, allocations: 76.83 kB / 1.268 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/1.283, allocations: 22.03 kB / 1.268 GB, free: 15.45 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0001548/1.283, allocations: 207.5 kB / 1.269 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/1.283, allocations: 56.25 kB / 1.269 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/1.284, allocations: 326.7 kB / 1.269 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.284, allocations: 4 kB / 1.269 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.284, allocations: 3.938 kB / 1.269 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.284, allocations: 3.266 kB / 1.269 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.285, allocations: 1.087 MB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.285, allocations: 3.562 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/1.285, allocations: 37.22 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/1.285, allocations: 4.375 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.285, allocations: 9.062 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.285, allocations: 8.141 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.285, allocations: 6.312 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/1.286, allocations: 476.4 kB / 1.271 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/1.286, allocations: 159 kB / 1.271 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/1.286, allocations: 13.03 kB / 1.271 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/1.287, allocations: 30.61 kB / 1.271 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/1.287, allocations: 26.22 kB / 1.271 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/1.287, allocations: 11.88 kB / 1.271 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008682/1.288, allocations: 477.9 kB / 1.271 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.288, allocations: 0 / 1.271 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001234/1.289, allocations: 269.3 kB / 1.272 GB, free: 14.18 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001369/1.29, allocations: 0.5107 MB / 1.272 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001489/1.292, allocations: 0.5005 MB / 1.273 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.292, allocations: 0.5 kB / 1.273 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/1.292, allocations: 129.3 kB / 1.273 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.294, allocations: 261.4 kB / 1.273 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/1.295, allocations: 1.252 MB / 1.274 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/1.296, allocations: 0.8947 MB / 1.275 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/1.296, allocations: 49.44 kB / 1.275 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.296, allocations: 0 / 1.275 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.01763/1.314, allocations: 9.779 MB / 1.285 GB, free: 11.67 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches