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.001115/0.001115, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001206/0.001206, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.07 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.172/2.172, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.84 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9052/0.9068, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2601/1.167, allocations: 199 MB / 1.283 GB, free: 6.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007039/1.174, allocations: 3.751 MB / 1.287 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009678/1.175, allocations: 27.81 kB / 1.287 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/1.176, allocations: 429.6 kB / 1.287 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/1.18, allocations: 1.256 MB / 1.288 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/1.182, allocations: 0.7479 MB / 1.289 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002045/1.184, allocations: 1.356 MB / 1.29 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009141/1.185, allocations: 0.4887 MB / 1.291 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/1.187, allocations: 1.001 MB / 1.292 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/1.188, allocations: 462.1 kB / 1.292 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/1.188, allocations: 44 kB / 1.292 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/1.191, allocations: 1.193 MB / 1.293 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/1.191, allocations: 195.4 kB / 1.294 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005265/1.191, allocations: 334.2 kB / 1.294 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/1.194, allocations: 1.204 MB / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.194, allocations: 0 / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/1.194, allocations: 4 kB / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.033e-05/1.194, allocations: 0 / 1.295 GB, free: 10.14 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.002494/1.196, allocations: 1.056 MB / 1.296 GB, free: 9.035 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/1.196, allocations: 8.031 kB / 1.296 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/1.198, allocations: 219 kB / 1.296 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.199, allocations: 0.5655 MB / 1.297 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/1.199, allocations: 33 kB / 1.297 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/1.199, allocations: 40 kB / 1.297 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.2, allocations: 0.5435 MB / 1.297 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.2, allocations: 4 kB / 1.297 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/1.2, allocations: 12 kB / 1.298 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/1.2, allocations: 17 kB / 1.298 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.201, allocations: 0.4957 MB / 1.298 GB, free: 7.039 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.003243/1.205, allocations: 2.23 MB / 1.3 GB, free: 4.641 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/1.205, allocations: 355.9 kB / 1.301 GB, free: 4.266 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/1.205, allocations: 152.7 kB / 1.301 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.207, allocations: 0.8415 MB / 1.301 GB, free: 3.105 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/1.207, allocations: 204.9 kB / 1.302 GB, free: 2.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.504e-06/1.207, allocations: 4 kB / 1.302 GB, free: 2.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001075/1.208, allocations: 458.6 kB / 1.302 GB, free: 2.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.208, allocations: 81.11 kB / 1.302 GB, free: 2.332 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/1.209, allocations: 0.6563 MB / 1.303 GB, free: 1.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/1.209, allocations: 29.7 kB / 1.303 GB, free: 1.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/1.21, allocations: 315.8 kB / 1.303 GB, free: 1.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/1.21, allocations: 102.6 kB / 1.303 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.21, allocations: 78.03 kB / 1.303 GB, free: 1.133 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.21, allocations: 374.8 kB / 1.304 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/1.21, allocations: 150.5 kB / 1.304 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/1.211, allocations: 298.2 kB / 1.304 GB, free: 256 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/1.211, allocations: 411.9 kB / 1.305 GB, free: 15.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.211, allocations: 0 / 1.305 GB, free: 15.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001043/1.213, allocations: 499 kB / 1.305 GB, free: 15.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.213, allocations: 8 kB / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.213, allocations: 8 kB / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.213, allocations: 8 kB / 1.305 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/1.213, allocations: 91.88 kB / 1.305 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.213, allocations: 15.92 kB / 1.305 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/1.214, allocations: 75.64 kB / 1.305 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/1.214, allocations: 20 kB / 1.305 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005337/1.214, allocations: 308.9 kB / 1.306 GB, free: 14.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004738/1.215, allocations: 295.4 kB / 1.306 GB, free: 14.42 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006516/1.215, allocations: 413 kB / 1.306 GB, free: 13.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.216, allocations: 0 / 1.306 GB, free: 13.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00103/1.217, allocations: 0.4904 MB / 1.307 GB, free: 13.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.217, allocations: 10.34 kB / 1.307 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.217, allocations: 4 kB / 1.307 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/1.217, allocations: 4 kB / 1.307 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/1.217, allocations: 95.83 kB / 1.307 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.217, allocations: 7.984 kB / 1.307 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/1.218, allocations: 71.8 kB / 1.307 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/1.218, allocations: 23.94 kB / 1.307 GB, free: 13.26 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.0001841/1.218, allocations: 204.7 kB / 1.307 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.218, allocations: 67.25 kB / 1.307 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/1.219, allocations: 335.6 kB / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.219, allocations: 4 kB / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.219, allocations: 0 / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.219, allocations: 0 / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/1.22, allocations: 1.119 MB / 1.309 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.22, allocations: 8.031 kB / 1.309 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/1.221, allocations: 39.92 kB / 1.309 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.221, allocations: 4 kB / 1.309 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.221, allocations: 8 kB / 1.309 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/1.221, allocations: 4 kB / 1.309 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.221, allocations: 11.98 kB / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/1.222, allocations: 0.6321 MB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/1.222, allocations: 164.3 kB / 1.309 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/1.222, allocations: 8 kB / 1.309 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/1.222, allocations: 19.98 kB / 1.309 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/1.222, allocations: 23.92 kB / 1.309 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/1.222, allocations: 20.05 kB / 1.309 GB, free: 10.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006769/1.223, allocations: 471 kB / 1.31 GB, free: 9.973 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.1e-07/1.223, allocations: 4 kB / 1.31 GB, free: 9.969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009662/1.224, allocations: 267.6 kB / 1.31 GB, free: 9.707 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.001289/1.225, allocations: 0.513 MB / 1.311 GB, free: 9.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.227, allocations: 0.5452 MB / 1.311 GB, free: 8.812 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.227, allocations: 0 / 1.311 GB, free: 8.812 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/1.227, allocations: 135.7 kB / 1.311 GB, free: 8.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.228, allocations: 280.7 kB / 1.312 GB, free: 8.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/1.23, allocations: 1.198 MB / 1.313 GB, free: 7.145 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/1.231, allocations: 0.8939 MB / 1.314 GB, free: 6.223 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.231, allocations: 55.42 kB / 1.314 GB, free: 6.168 MB / 1.045 GB Notification: Performance of SimCode: time 5.92e-07/1.231, allocations: 0 / 1.314 GB, free: 6.168 MB / 1.045 GB Notification: Performance of Templates: time 0.01705/1.248, allocations: 10.02 MB / 1.323 GB, free: 12.24 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