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.001367/0.001367, allocations: 104 kB / 16.41 MB, free: 6.504 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.001451/0.001451, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.673/1.673, allocations: 222.9 MB / 241 MB, free: 15.15 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.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.84 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2176/1.222, allocations: 199 MB / 1.362 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007901/1.23, allocations: 3.746 MB / 1.365 GB, free: 8.32 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/1.232, allocations: 27.81 kB / 1.365 GB, free: 8.293 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/1.233, allocations: 445.5 kB / 1.366 GB, free: 7.855 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0049/1.238, allocations: 1.3 MB / 1.367 GB, free: 6.551 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/1.242, allocations: 0.7496 MB / 1.368 GB, free: 5.805 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00284/1.244, allocations: 1.368 MB / 1.369 GB, free: 4.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/1.246, allocations: 0.4887 MB / 1.37 GB, free: 3.938 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003753/1.249, allocations: 1.006 MB / 1.371 GB, free: 2.934 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/1.251, allocations: 466.1 kB / 1.371 GB, free: 2.477 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/1.251, allocations: 44 kB / 1.371 GB, free: 2.434 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/1.254, allocations: 1.193 MB / 1.372 GB, free: 1.238 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000439/1.255, allocations: 203.3 kB / 1.372 GB, free: 1.039 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.256, allocations: 338.2 kB / 1.373 GB, free: 0.707 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/1.26, allocations: 1.2 MB / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.26, allocations: 0 / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.318e-06/1.26, allocations: 4 kB / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.093e-05/1.26, allocations: 4 kB / 1.374 GB, free: 15.49 MB / 1.107 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.004265/1.264, allocations: 1.052 MB / 1.375 GB, free: 14.39 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/1.264, allocations: 8.922 kB / 1.375 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/1.266, allocations: 219 kB / 1.375 GB, free: 14.17 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.267, allocations: 0.5693 MB / 1.376 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/1.268, allocations: 33 kB / 1.376 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.268, allocations: 40 kB / 1.376 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.269, allocations: 0.5473 MB / 1.376 GB, free: 12.92 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/1.269, allocations: 0 / 1.376 GB, free: 12.92 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/1.269, allocations: 16 kB / 1.376 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/1.269, allocations: 17 kB / 1.376 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.27, allocations: 0.4996 MB / 1.377 GB, free: 12.39 MB / 1.107 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.003921/1.274, allocations: 2.21 MB / 1.379 GB, free: 10 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007483/1.275, allocations: 367.9 kB / 1.379 GB, free: 9.617 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/1.275, allocations: 148.7 kB / 1.379 GB, free: 9.469 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.277, allocations: 0.8377 MB / 1.38 GB, free: 8.465 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/1.277, allocations: 204.9 kB / 1.38 GB, free: 8.246 MB / 1.107 GB Notification: Performance of pre-optimization done (n=28): time 3.336e-06/1.277, allocations: 7.875 kB / 1.38 GB, free: 8.238 MB / 1.107 GB Notification: Performance of matching and sorting (n=28): time 0.001188/1.278, allocations: 454.8 kB / 1.381 GB, free: 7.789 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/1.279, allocations: 85.05 kB / 1.381 GB, free: 7.688 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/1.28, allocations: 0.6563 MB / 1.382 GB, free: 7.023 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.28, allocations: 29.7 kB / 1.382 GB, free: 6.988 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/1.28, allocations: 319.8 kB / 1.382 GB, free: 6.672 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.28, allocations: 98.64 kB / 1.382 GB, free: 6.574 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.28, allocations: 78.12 kB / 1.382 GB, free: 6.492 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.28, allocations: 374.8 kB / 1.382 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/1.281, allocations: 150.5 kB / 1.383 GB, free: 5.969 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/1.281, allocations: 298.9 kB / 1.383 GB, free: 5.613 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/1.282, allocations: 403.8 kB / 1.383 GB, free: 5.164 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.282, allocations: 4 kB / 1.383 GB, free: 5.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001081/1.283, allocations: 0.4916 MB / 1.384 GB, free: 4.664 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.283, allocations: 8 kB / 1.384 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.283, allocations: 4 kB / 1.384 GB, free: 4.652 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.283, allocations: 8 kB / 1.384 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/1.284, allocations: 91.81 kB / 1.384 GB, free: 4.555 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.284, allocations: 12.16 kB / 1.384 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/1.284, allocations: 79.39 kB / 1.384 GB, free: 4.465 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/1.284, allocations: 24 kB / 1.384 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005341/1.285, allocations: 304.8 kB / 1.384 GB, free: 4.141 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004582/1.285, allocations: 298.3 kB / 1.385 GB, free: 3.789 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006312/1.286, allocations: 396.9 kB / 1.385 GB, free: 3.348 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/1.286, allocations: 0 / 1.385 GB, free: 3.348 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001044/1.287, allocations: 0.4931 MB / 1.385 GB, free: 2.848 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.287, allocations: 8 kB / 1.385 GB, free: 2.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.287, allocations: 4 kB / 1.385 GB, free: 2.836 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/1.287, allocations: 4 kB / 1.385 GB, free: 2.832 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/1.287, allocations: 95.83 kB / 1.386 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.287, allocations: 12.14 kB / 1.386 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/1.288, allocations: 67.64 kB / 1.386 GB, free: 2.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/1.288, allocations: 16 kB / 1.386 GB, free: 2.645 MB / 1.107 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.0001952/1.288, allocations: 216.9 kB / 1.386 GB, free: 2.43 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.289, allocations: 63.25 kB / 1.386 GB, free: 2.367 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/1.289, allocations: 335.6 kB / 1.386 GB, free: 2.027 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/1.289, allocations: 7.938 kB / 1.386 GB, free: 2.02 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.289, allocations: 3.938 kB / 1.386 GB, free: 2.016 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.289, allocations: 0 / 1.386 GB, free: 2.016 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/1.291, allocations: 1.122 MB / 1.387 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.291, allocations: 0 / 1.387 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/1.291, allocations: 43.92 kB / 1.387 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/1.291, allocations: 7.938 kB / 1.387 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/1.291, allocations: 8.062 kB / 1.387 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.291, allocations: 8 kB / 1.387 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.291, allocations: 7.984 kB / 1.387 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000858/1.292, allocations: 0.6263 MB / 1.388 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/1.293, allocations: 168.2 kB / 1.388 GB, free: 15.88 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/1.293, allocations: 8 kB / 1.388 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/1.293, allocations: 19.98 kB / 1.388 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/1.293, allocations: 27.98 kB / 1.388 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/1.293, allocations: 15.92 kB / 1.388 GB, free: 15.8 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000683/1.294, allocations: 475 kB / 1.389 GB, free: 15.35 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/1.294, allocations: 4 kB / 1.389 GB, free: 15.34 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001022/1.295, allocations: 267.6 kB / 1.389 GB, free: 15.08 MB / 1.123 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.001373/1.296, allocations: 0.5096 MB / 1.389 GB, free: 14.73 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.297, allocations: 0.5394 MB / 1.39 GB, free: 14.19 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.298, allocations: 0 / 1.39 GB, free: 14.19 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/1.298, allocations: 134.4 kB / 1.39 GB, free: 14.06 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.299, allocations: 277.5 kB / 1.39 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/1.301, allocations: 1.198 MB / 1.392 GB, free: 12.53 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/1.302, allocations: 0.8939 MB / 1.392 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/1.302, allocations: 55.42 kB / 1.392 GB, free: 11.55 MB / 1.123 GB Notification: Performance of SimCode: time 6.41e-07/1.302, allocations: 0 / 1.392 GB, free: 11.55 MB / 1.123 GB Notification: Performance of Templates: time 0.0171/1.319, allocations: 10.02 MB / 1.402 GB, free: 1.602 MB / 1.123 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