Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001188/0.001188, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008775/0.008775, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 462.7 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 8.469 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3668, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2242/0.591, allocations: 194.2 MB / 1.248 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7265/1.318, allocations: 3.725 MB / 1.252 GB, free: 21.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/1.319, allocations: 26.31 kB / 1.252 GB, free: 21.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/1.32, allocations: 376.3 kB / 1.252 GB, free: 21.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/1.324, allocations: 1.176 MB / 1.253 GB, free: 21.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/1.326, allocations: 0.6613 MB / 1.254 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00263/1.328, allocations: 1.839 MB / 1.256 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006471/1.329, allocations: 422.9 kB / 1.256 GB, free: 21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/1.332, allocations: 0.8803 MB / 1.257 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/1.332, allocations: 464.2 kB / 1.258 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/1.332, allocations: 20.34 kB / 1.258 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/1.335, allocations: 1.323 MB / 1.259 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/1.335, allocations: 168.6 kB / 1.259 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/1.336, allocations: 328.4 kB / 1.259 GB, free: 20.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/1.337, allocations: 1.211 MB / 1.261 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.337, allocations: 4 kB / 1.261 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.337, allocations: 0 / 1.261 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.337, allocations: 0 / 1.261 GB, free: 20.85 MB / 0.9981 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.001916/1.339, allocations: 0.9244 MB / 1.261 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.339, allocations: 10.41 kB / 1.261 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/1.341, allocations: 233.1 kB / 1.262 GB, free: 20.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/1.342, allocations: 0.5392 MB / 1.262 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/1.342, allocations: 28.88 kB / 1.262 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/1.342, allocations: 40.91 kB / 1.262 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/1.343, allocations: 0.5436 MB / 1.263 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.343, allocations: 5.844 kB / 1.263 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/1.343, allocations: 22.19 kB / 1.263 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/1.343, allocations: 19.3 kB / 1.263 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.344, allocations: 0.5163 MB / 1.263 GB, free: 19.82 MB / 0.9981 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.00321/1.347, allocations: 2.23 MB / 1.266 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/1.348, allocations: 352.2 kB / 1.266 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/1.348, allocations: 138.2 kB / 1.266 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.35, allocations: 0.8658 MB / 1.267 GB, free: 17.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/1.35, allocations: 194.7 kB / 1.267 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/1.35, allocations: 0 / 1.267 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001018/1.351, allocations: 442.7 kB / 1.267 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.351, allocations: 80.98 kB / 1.268 GB, free: 17.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.352, allocations: 0.65 MB / 1.268 GB, free: 17.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/1.352, allocations: 37.39 kB / 1.268 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/1.352, allocations: 322.6 kB / 1.269 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/1.352, allocations: 94.84 kB / 1.269 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/1.353, allocations: 37.53 kB / 1.269 GB, free: 16.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.353, allocations: 366.7 kB / 1.269 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/1.353, allocations: 135.3 kB / 1.269 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/1.354, allocations: 270.2 kB / 1.269 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/1.354, allocations: 393.1 kB / 1.27 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.354, allocations: 2.406 kB / 1.27 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001151/1.355, allocations: 475.8 kB / 1.27 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.356, allocations: 201.1 kB / 1.27 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.356, allocations: 7.594 kB / 1.27 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.356, allocations: 10.17 kB / 1.27 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/1.356, allocations: 89.17 kB / 1.271 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/1.356, allocations: 6.703 kB / 1.271 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/1.357, allocations: 79 kB / 1.271 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/1.357, allocations: 22.42 kB / 1.271 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.357, allocations: 7.531 kB / 1.271 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/1.358, allocations: 389.9 kB / 1.271 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.358, allocations: 4.703 kB / 1.271 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.358, allocations: 10.19 kB / 1.271 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/1.358, allocations: 92.8 kB / 1.271 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.358, allocations: 14.78 kB / 1.271 GB, free: 16.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/1.359, allocations: 64.31 kB / 1.271 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/1.359, allocations: 23.47 kB / 1.271 GB, free: 15.99 MB / 0.9981 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.0003493/1.359, allocations: 283 kB / 1.271 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/1.359, allocations: 64.94 kB / 1.272 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006813/1.36, allocations: 315.2 kB / 1.272 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.36, allocations: 6.75 kB / 1.272 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.36, allocations: 0.9688 kB / 1.272 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.36, allocations: 9.75 kB / 1.272 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/1.362, allocations: 1.09 MB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.362, allocations: 3.906 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/1.362, allocations: 37.95 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.362, allocations: 3.375 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.362, allocations: 8.828 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.362, allocations: 5.5 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.362, allocations: 6.359 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/1.363, allocations: 480.7 kB / 1.273 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/1.363, allocations: 167.7 kB / 1.274 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/1.363, allocations: 9.5 kB / 1.274 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/1.363, allocations: 30.55 kB / 1.274 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/1.363, allocations: 23.48 kB / 1.274 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.363, allocations: 12.06 kB / 1.274 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008289/1.364, allocations: 478.3 kB / 1.274 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.364, allocations: 0 / 1.274 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001369/1.366, allocations: 274.1 kB / 1.274 GB, free: 14.71 MB / 0.9981 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.00136/1.367, allocations: 0.51 MB / 1.275 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.368, allocations: 0.4998 MB / 1.275 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.368, allocations: 0.5938 kB / 1.275 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/1.369, allocations: 129 kB / 1.276 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.37, allocations: 260.9 kB / 1.276 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/1.372, allocations: 1.238 MB / 1.277 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/1.373, allocations: 0.8936 MB / 1.278 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007738/1.374, allocations: 177.6 kB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/1.374, allocations: 44.88 kB / 1.278 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.374, allocations: 0 / 1.278 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.02055/1.394, allocations: 9.985 MB / 1.288 GB, free: 12.41 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches