Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001921/0.00192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002037/0.002037, allocations: 193.5 kB / 16.14 MB, free: 6.629 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 67.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.8129, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.256/1.069, allocations: 196.8 MB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008152/1.077, allocations: 3.793 MB / 1.212 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/1.079, allocations: 27.81 kB / 1.213 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/1.08, allocations: 370.2 kB / 1.213 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004129/1.084, allocations: 1.181 MB / 1.214 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/1.087, allocations: 0.6565 MB / 1.215 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002926/1.09, allocations: 1.835 MB / 1.216 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/1.091, allocations: 447.4 kB / 1.217 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/1.094, allocations: 0.8758 MB / 1.218 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/1.095, allocations: 482 kB / 1.218 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/1.096, allocations: 28 kB / 1.218 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/1.098, allocations: 1.321 MB / 1.22 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/1.099, allocations: 187.3 kB / 1.22 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/1.099, allocations: 306.2 kB / 1.22 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/1.102, allocations: 1.223 MB / 1.221 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.102, allocations: 3.938 kB / 1.221 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/1.102, allocations: 0 / 1.221 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.102, allocations: 0 / 1.221 GB, free: 0.5234 MB / 0.9669 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.00278/1.105, allocations: 1.056 MB / 1.222 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.105, allocations: 12.03 kB / 1.222 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/1.106, allocations: 214.9 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/1.107, allocations: 0.5342 MB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/1.107, allocations: 33 kB / 1.223 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/1.107, allocations: 39.98 kB / 1.223 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.109, allocations: 0.5426 MB / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.109, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/1.109, allocations: 16 kB / 1.224 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/1.109, allocations: 20.98 kB / 1.224 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.11, allocations: 0.5035 MB / 1.224 GB, free: 13.45 MB / 0.9825 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.00389/1.114, allocations: 2.223 MB / 1.226 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/1.115, allocations: 347.8 kB / 1.227 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/1.115, allocations: 140.7 kB / 1.227 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.117, allocations: 0.8416 MB / 1.228 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/1.117, allocations: 194.6 kB / 1.228 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.943e-06/1.117, allocations: 0 / 1.228 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.00118/1.118, allocations: 436.2 kB / 1.228 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/1.118, allocations: 85.11 kB / 1.228 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.119, allocations: 0.6486 MB / 1.229 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/1.119, allocations: 33.7 kB / 1.229 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/1.12, allocations: 327.6 kB / 1.229 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/1.12, allocations: 86.84 kB / 1.229 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.12, allocations: 77.59 kB / 1.229 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.12, allocations: 370.8 kB / 1.23 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/1.121, allocations: 132.8 kB / 1.23 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/1.121, allocations: 294.6 kB / 1.23 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/1.122, allocations: 391 kB / 1.23 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.122, allocations: 0 / 1.23 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/1.123, allocations: 470.9 kB / 1.231 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.123, allocations: 8 kB / 1.231 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.123, allocations: 4.281 kB / 1.231 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.123, allocations: 8.312 kB / 1.231 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/1.124, allocations: 99.83 kB / 1.231 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.124, allocations: 7.984 kB / 1.231 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/1.124, allocations: 83.48 kB / 1.231 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/1.124, allocations: 23.98 kB / 1.231 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005685/1.125, allocations: 300 kB / 1.231 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000501/1.125, allocations: 277.7 kB / 1.232 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006968/1.126, allocations: 385.3 kB / 1.232 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.126, allocations: 0 / 1.232 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001087/1.127, allocations: 468.3 kB / 1.233 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.127, allocations: 8.469 kB / 1.233 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.127, allocations: 8 kB / 1.233 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/1.127, allocations: 4 kB / 1.233 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/1.128, allocations: 87.89 kB / 1.233 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.128, allocations: 7.938 kB / 1.233 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/1.128, allocations: 75.62 kB / 1.233 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/1.128, allocations: 23.94 kB / 1.233 GB, free: 3.879 MB / 0.9825 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.0001863/1.129, allocations: 208.1 kB / 1.233 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/1.129, allocations: 59.25 kB / 1.233 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006744/1.129, allocations: 322.1 kB / 1.233 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.129, allocations: 4 kB / 1.233 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.129, allocations: 0 / 1.233 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.129, allocations: 4 kB / 1.233 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/1.131, allocations: 1.087 MB / 1.234 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.131, allocations: 4.062 kB / 1.234 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/1.131, allocations: 39.92 kB / 1.234 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.131, allocations: 4 kB / 1.234 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.131, allocations: 8 kB / 1.234 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/1.132, allocations: 7.984 kB / 1.234 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.132, allocations: 7.938 kB / 1.234 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/1.132, allocations: 475 kB / 1.235 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/1.132, allocations: 164.3 kB / 1.235 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/1.133, allocations: 8 kB / 1.235 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/1.133, allocations: 32.03 kB / 1.235 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/1.133, allocations: 27.92 kB / 1.235 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/1.133, allocations: 8 kB / 1.235 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007459/1.134, allocations: 475 kB / 1.236 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/1.134, allocations: 0 / 1.236 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001/1.135, allocations: 275.5 kB / 1.236 GB, free: 0.5391 MB / 0.9825 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.001888/1.137, allocations: 0.5057 MB / 1.236 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001306/1.138, allocations: 0.489 MB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.138, allocations: 4 kB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/1.138, allocations: 128.6 kB / 1.237 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.14, allocations: 275.1 kB / 1.237 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/1.142, allocations: 1.223 MB / 1.238 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/1.143, allocations: 0.8902 MB / 1.239 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008053/1.143, allocations: 160.8 kB / 1.239 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.144, allocations: 55.42 kB / 1.239 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.144, allocations: 0 / 1.239 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.02213/1.166, allocations: 10.03 MB / 1.249 GB, free: 3.008 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches