Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Humidifiers.Validation.SteamHumidifier_X_dynamic,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_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,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_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 103.4 kB / 16.41 MB, free: 6.016 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.00103/0.00103, allocations: 189.9 kB / 17.34 MB, free: 5.609 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9181, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2606/1.179, allocations: 199 MB / 1.283 GB, free: 6.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007105/1.186, allocations: 3.75 MB / 1.287 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/1.187, allocations: 27.81 kB / 1.287 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.189, allocations: 433.5 kB / 1.287 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/1.192, allocations: 1.252 MB / 1.288 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/1.194, allocations: 0.7435 MB / 1.289 GB, free: 416 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002181/1.197, allocations: 1.368 MB / 1.29 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009664/1.198, allocations: 0.4926 MB / 1.291 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/1.201, allocations: 0.9897 MB / 1.292 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/1.202, allocations: 462.1 kB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/1.202, allocations: 44 kB / 1.292 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/1.204, allocations: 1.193 MB / 1.293 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/1.205, allocations: 199.4 kB / 1.294 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005659/1.205, allocations: 330.2 kB / 1.294 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/1.208, allocations: 1.204 MB / 1.295 GB, free: 10.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.208, allocations: 0 / 1.295 GB, free: 10.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/1.208, allocations: 0 / 1.295 GB, free: 10.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.985e-05/1.208, allocations: 0 / 1.295 GB, free: 10.13 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002817/1.21, allocations: 1.059 MB / 1.296 GB, free: 9.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.21, allocations: 12.02 kB / 1.296 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/1.212, allocations: 219 kB / 1.296 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.213, allocations: 0.5615 MB / 1.297 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/1.213, allocations: 32.94 kB / 1.297 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/1.213, allocations: 43.98 kB / 1.297 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.214, allocations: 0.5396 MB / 1.297 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/1.214, allocations: 4 kB / 1.297 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/1.214, allocations: 23.92 kB / 1.298 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.214, allocations: 24.98 kB / 1.298 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/1.216, allocations: 0.4957 MB / 1.298 GB, free: 7.004 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.003363/1.219, allocations: 2.222 MB / 1.3 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/1.22, allocations: 356 kB / 1.301 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/1.22, allocations: 148.7 kB / 1.301 GB, free: 4.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/1.221, allocations: 0.8454 MB / 1.302 GB, free: 3.078 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/1.222, allocations: 201 kB / 1.302 GB, free: 2.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 3.457e-06/1.222, allocations: 0 / 1.302 GB, free: 2.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001182/1.223, allocations: 454 kB / 1.302 GB, free: 2.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/1.223, allocations: 89.11 kB / 1.302 GB, free: 2.309 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/1.224, allocations: 0.6485 MB / 1.303 GB, free: 1.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/1.224, allocations: 33.7 kB / 1.303 GB, free: 1.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/1.224, allocations: 315.8 kB / 1.303 GB, free: 1.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/1.224, allocations: 98.64 kB / 1.303 GB, free: 1.199 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/1.225, allocations: 90.03 kB / 1.303 GB, free: 1.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.225, allocations: 370.8 kB / 1.304 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/1.225, allocations: 142.5 kB / 1.304 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/1.226, allocations: 306.2 kB / 1.304 GB, free: 232 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/1.226, allocations: 403 kB / 1.305 GB, free: 15.78 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.226, allocations: 4 kB / 1.305 GB, free: 15.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001123/1.227, allocations: 497.2 kB / 1.305 GB, free: 15.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.227, allocations: 8 kB / 1.305 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.227, allocations: 4 kB / 1.305 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.227, allocations: 8.219 kB / 1.305 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/1.228, allocations: 100.1 kB / 1.305 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.228, allocations: 4 kB / 1.305 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/1.229, allocations: 79.48 kB / 1.305 GB, free: 15.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/1.229, allocations: 23.98 kB / 1.305 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005325/1.229, allocations: 302.4 kB / 1.306 GB, free: 14.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004534/1.23, allocations: 303.3 kB / 1.306 GB, free: 14.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006415/1.23, allocations: 412.9 kB / 1.306 GB, free: 13.95 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/1.23, allocations: 4 kB / 1.306 GB, free: 13.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00108/1.231, allocations: 493.7 kB / 1.307 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.231, allocations: 8 kB / 1.307 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.231, allocations: 4 kB / 1.307 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/1.231, allocations: 15.92 kB / 1.307 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/1.232, allocations: 88.11 kB / 1.307 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.232, allocations: 11.94 kB / 1.307 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/1.233, allocations: 71.64 kB / 1.307 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/1.233, allocations: 23.98 kB / 1.307 GB, free: 13.23 MB / 1.045 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 (47): * Single equations (assignments): 47 * 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.0002067/1.233, allocations: 208.7 kB / 1.307 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/1.233, allocations: 59.25 kB / 1.307 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006986/1.234, allocations: 338.6 kB / 1.307 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.234, allocations: 4 kB / 1.307 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.234, allocations: 4 kB / 1.307 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.234, allocations: 0 / 1.307 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.235, allocations: 1.11 MB / 1.309 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.235, allocations: 4.125 kB / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/1.236, allocations: 43.92 kB / 1.309 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.236, allocations: 4 kB / 1.309 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/1.236, allocations: 15.98 kB / 1.309 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/1.236, allocations: 7.938 kB / 1.309 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.236, allocations: 4.312 kB / 1.309 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/1.237, allocations: 0.6244 MB / 1.309 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/1.237, allocations: 168.2 kB / 1.309 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.237, allocations: 8 kB / 1.309 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/1.237, allocations: 23.98 kB / 1.309 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/1.237, allocations: 23.91 kB / 1.309 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/1.237, allocations: 20.03 kB / 1.309 GB, free: 10.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007252/1.238, allocations: 475 kB / 1.31 GB, free: 9.949 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.238, allocations: 0 / 1.31 GB, free: 9.949 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009903/1.239, allocations: 271.6 kB / 1.31 GB, free: 9.684 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.001364/1.24, allocations: 0.5114 MB / 1.311 GB, free: 9.332 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001285/1.242, allocations: 0.5384 MB / 1.311 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.242, allocations: 1.062 kB / 1.311 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/1.242, allocations: 142.3 kB / 1.311 GB, free: 8.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.243, allocations: 269.5 kB / 1.312 GB, free: 8.398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/1.246, allocations: 1.198 MB / 1.313 GB, free: 7.133 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/1.246, allocations: 0.8939 MB / 1.314 GB, free: 6.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/1.246, allocations: 55.42 kB / 1.314 GB, free: 6.156 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/1.246, allocations: 0 / 1.314 GB, free: 6.156 MB / 1.045 GB Notification: Performance of Templates: time 0.01714/1.264, allocations: 10.02 MB / 1.323 GB, free: 12.22 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches