Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001613/0.001613, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001852/0.001852, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.422/2.422, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.28 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.8777/1.201, allocations: 196.4 MB / 1.209 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007234/1.209, allocations: 3.717 MB / 1.213 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/1.21, allocations: 26.78 kB / 1.213 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/1.212, allocations: 382.9 kB / 1.213 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/1.216, allocations: 1.184 MB / 1.214 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/1.219, allocations: 0.675 MB / 1.215 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00249/1.221, allocations: 1.365 MB / 1.216 GB, free: 11.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/1.222, allocations: 0.4931 MB / 1.217 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/1.226, allocations: 0.9653 MB / 1.218 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/1.227, allocations: 494.6 kB / 1.218 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/1.227, allocations: 42.72 kB / 1.218 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/1.23, allocations: 1.228 MB / 1.22 GB, free: 9.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/1.23, allocations: 206.5 kB / 1.22 GB, free: 9.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000692/1.231, allocations: 329 kB / 1.22 GB, free: 9.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/1.233, allocations: 0.8697 MB / 1.221 GB, free: 8.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.233, allocations: 0 / 1.221 GB, free: 8.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/1.233, allocations: 0 / 1.221 GB, free: 8.836 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.421e-05/1.233, allocations: 0 / 1.221 GB, free: 8.836 MB / 0.92 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.002909/1.236, allocations: 1.055 MB / 1.222 GB, free: 7.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.236, allocations: 10.95 kB / 1.222 GB, free: 7.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/1.237, allocations: 220.9 kB / 1.222 GB, free: 7.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.238, allocations: 0.5322 MB / 1.223 GB, free: 7.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/1.239, allocations: 34.38 kB / 1.223 GB, free: 7.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/1.239, allocations: 43.95 kB / 1.223 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/1.24, allocations: 0.5513 MB / 1.223 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.24, allocations: 0 / 1.223 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/1.24, allocations: 16 kB / 1.223 GB, free: 6.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/1.24, allocations: 17 kB / 1.223 GB, free: 6.973 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/1.241, allocations: 0.4996 MB / 1.224 GB, free: 6.473 MB / 0.92 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.003741/1.245, allocations: 2.21 MB / 1.226 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/1.246, allocations: 367.8 kB / 1.226 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/1.246, allocations: 156.7 kB / 1.227 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/1.247, allocations: 0.8415 MB / 1.227 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/1.248, allocations: 202.6 kB / 1.228 GB, free: 2.328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/1.248, allocations: 0 / 1.228 GB, free: 2.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.001167/1.249, allocations: 459 kB / 1.228 GB, free: 1.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.249, allocations: 85.05 kB / 1.228 GB, free: 1.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.25, allocations: 0.6525 MB / 1.229 GB, free: 1.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/1.25, allocations: 29.7 kB / 1.229 GB, free: 1.078 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/1.25, allocations: 323.7 kB / 1.229 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/1.25, allocations: 94.66 kB / 1.229 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.251, allocations: 82.03 kB / 1.229 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.251, allocations: 370.8 kB / 1.23 GB, free: 212 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.251, allocations: 154.5 kB / 1.23 GB, free: 52 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/1.252, allocations: 298.3 kB / 1.23 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/1.253, allocations: 401.3 kB / 1.23 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.253, allocations: 4 kB / 1.23 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001174/1.254, allocations: 0.4933 MB / 1.231 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.254, allocations: 10.81 kB / 1.231 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.254, allocations: 4 kB / 1.231 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.254, allocations: 11.94 kB / 1.231 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/1.254, allocations: 87.89 kB / 1.231 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.254, allocations: 12.09 kB / 1.231 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/1.255, allocations: 95.47 kB / 1.231 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/1.255, allocations: 16 kB / 1.231 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005811/1.256, allocations: 296.9 kB / 1.231 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004806/1.256, allocations: 299.4 kB / 1.232 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007267/1.257, allocations: 406.3 kB / 1.232 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.868e-06/1.257, allocations: 0 / 1.232 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00116/1.258, allocations: 0.4995 MB / 1.233 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.258, allocations: 8 kB / 1.233 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.258, allocations: 4 kB / 1.233 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/1.258, allocations: 4 kB / 1.233 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/1.259, allocations: 99.98 kB / 1.233 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.259, allocations: 7.984 kB / 1.233 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/1.259, allocations: 71.64 kB / 1.233 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/1.259, allocations: 20 kB / 1.233 GB, free: 12.71 MB / 0.9356 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.0002069/1.26, allocations: 216.1 kB / 1.233 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.26, allocations: 63.19 kB / 1.233 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/1.261, allocations: 341.5 kB / 1.233 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.261, allocations: 4 kB / 1.233 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.261, allocations: 0 / 1.233 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.261, allocations: 0 / 1.233 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/1.263, allocations: 1.11 MB / 1.234 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.263, allocations: 4 kB / 1.234 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/1.263, allocations: 43.92 kB / 1.234 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.263, allocations: 7.938 kB / 1.234 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/1.263, allocations: 12.3 kB / 1.234 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/1.263, allocations: 11.31 kB / 1.234 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.263, allocations: 4 kB / 1.234 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/1.264, allocations: 0.6241 MB / 1.235 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/1.264, allocations: 160.3 kB / 1.235 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.264, allocations: 12 kB / 1.235 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.265, allocations: 35.88 kB / 1.235 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/1.265, allocations: 23.92 kB / 1.235 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/1.265, allocations: 11.94 kB / 1.235 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000721/1.265, allocations: 486.9 kB / 1.236 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.265, allocations: 0 / 1.236 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001044/1.266, allocations: 271.7 kB / 1.236 GB, free: 9.137 MB / 0.9356 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.001404/1.268, allocations: 0.5067 MB / 1.237 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.269, allocations: 0.5448 MB / 1.237 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.269, allocations: 0 / 1.237 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/1.27, allocations: 139.6 kB / 1.237 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.271, allocations: 278.8 kB / 1.237 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/1.273, allocations: 1.393 MB / 1.239 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/1.274, allocations: 0.8978 MB / 1.24 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/1.274, allocations: 55.42 kB / 1.24 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/1.274, allocations: 0 / 1.24 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.01814/1.292, allocations: 9.973 MB / 1.25 GB, free: 11.52 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches