Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SprayAirWasher_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_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008639/0.008639, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.659/1.659, 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.1.0-maint.11.x/package.mo): time 2.97/2.97, allocations: 470.6 MB / 0.7442 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 7 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3403, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2326/0.5729, allocations: 175.8 MB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008141/0.5811, allocations: 3.73 MB / 1.245 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.5824, allocations: 23.81 kB / 1.245 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.5839, allocations: 378.2 kB / 1.246 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.5879, allocations: 1.172 MB / 1.247 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.5902, allocations: 0.6616 MB / 1.247 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.593, allocations: 1.832 MB / 1.249 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.5941, allocations: 409.6 kB / 1.25 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.5975, allocations: 0.8829 MB / 1.25 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009863/0.5985, allocations: 462.1 kB / 1.251 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.5987, allocations: 20 kB / 1.251 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.6015, allocations: 1.325 MB / 1.252 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6775/1.279, allocations: 163.4 kB / 1.252 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006453/1.28, allocations: 325.4 kB / 1.253 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/1.283, allocations: 1.218 MB / 1.254 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.283, allocations: 1.75 kB / 1.254 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.394e-06/1.283, allocations: 0 / 1.254 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.283, allocations: 0.9375 kB / 1.254 GB, free: 7.637 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002341/1.285, allocations: 0.9376 MB / 1.255 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.285, allocations: 9.953 kB / 1.255 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/1.287, allocations: 233 kB / 1.255 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/1.288, allocations: 0.5343 MB / 1.255 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/1.288, allocations: 30.44 kB / 1.256 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.288, allocations: 43.84 kB / 1.256 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.289, allocations: 0.5582 MB / 1.256 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.289, allocations: 1 kB / 1.256 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/1.289, allocations: 16.58 kB / 1.256 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/1.289, allocations: 19.95 kB / 1.256 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.291, allocations: 0.5121 MB / 1.257 GB, free: 6.684 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.003947/1.295, allocations: 2.219 MB / 1.259 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/1.295, allocations: 364.3 kB / 1.259 GB, free: 21.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/1.296, allocations: 145.2 kB / 1.259 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/1.297, allocations: 0.8654 MB / 1.26 GB, free: 20.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/1.298, allocations: 206.5 kB / 1.26 GB, free: 20.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/1.298, allocations: 0 / 1.26 GB, free: 20.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.00111/1.299, allocations: 459.3 kB / 1.261 GB, free: 20.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/1.299, allocations: 80.02 kB / 1.261 GB, free: 20.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/1.3, allocations: 0.6574 MB / 1.261 GB, free: 20.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/1.3, allocations: 31.86 kB / 1.262 GB, free: 20.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/1.3, allocations: 316.1 kB / 1.262 GB, free: 19.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/1.3, allocations: 95.27 kB / 1.262 GB, free: 19.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/1.3, allocations: 38.16 kB / 1.262 GB, free: 19.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.3, allocations: 375.2 kB / 1.262 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/1.301, allocations: 141.4 kB / 1.262 GB, free: 19.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/1.301, allocations: 296.4 kB / 1.263 GB, free: 19.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/1.302, allocations: 405.2 kB / 1.263 GB, free: 19.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.302, allocations: 2.875 kB / 1.263 GB, free: 19.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001062/1.303, allocations: 496.5 kB / 1.264 GB, free: 19.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/1.303, allocations: 212.8 kB / 1.264 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.303, allocations: 4.734 kB / 1.264 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.303, allocations: 13.22 kB / 1.264 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/1.304, allocations: 87.56 kB / 1.264 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.304, allocations: 10.09 kB / 1.264 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/1.304, allocations: 87.64 kB / 1.264 GB, free: 18.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/1.304, allocations: 20.27 kB / 1.264 GB, free: 18.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/1.304, allocations: 8.375 kB / 1.264 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008833/1.305, allocations: 411 kB / 1.264 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.305, allocations: 5.641 kB / 1.264 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/1.305, allocations: 8.438 kB / 1.264 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/1.306, allocations: 98.89 kB / 1.265 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.306, allocations: 7.047 kB / 1.265 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/1.306, allocations: 72.25 kB / 1.265 GB, free: 18.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/1.306, allocations: 21.84 kB / 1.265 GB, free: 18.86 MB / 1.014 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.0003707/1.307, allocations: 292.4 kB / 1.265 GB, free: 18.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/1.307, allocations: 59.08 kB / 1.265 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/1.307, allocations: 339.6 kB / 1.265 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.307, allocations: 8.375 kB / 1.265 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.307, allocations: 0.7031 kB / 1.265 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.307, allocations: 1.406 kB / 1.265 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/1.309, allocations: 1.12 MB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.309, allocations: 3.234 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.309, allocations: 42.89 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/1.309, allocations: 2.625 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/1.309, allocations: 9.844 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/1.309, allocations: 10.08 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.309, allocations: 7.422 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/1.31, allocations: 0.6225 MB / 1.267 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/1.31, allocations: 171.4 kB / 1.267 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/1.311, allocations: 10.22 kB / 1.267 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/1.311, allocations: 34.42 kB / 1.267 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/1.311, allocations: 25.66 kB / 1.267 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/1.311, allocations: 11.06 kB / 1.267 GB, free: 17.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006966/1.312, allocations: 476.6 kB / 1.268 GB, free: 17.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.312, allocations: 0 / 1.268 GB, free: 17.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001023/1.313, allocations: 275.7 kB / 1.268 GB, free: 17.58 MB / 1.014 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.001812/1.315, allocations: 0.5225 MB / 1.269 GB, free: 17.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.316, allocations: 0.5269 MB / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.316, allocations: 1.875 kB / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/1.316, allocations: 135.5 kB / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1.318, allocations: 265.5 kB / 1.269 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/1.32, allocations: 1.383 MB / 1.271 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/1.32, allocations: 0.8963 MB / 1.272 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007625/1.321, allocations: 174.9 kB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/1.321, allocations: 45.77 kB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/1.321, allocations: 0 / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of Templates: time 0.02375/1.345, allocations: 10.22 MB / 1.282 GB, free: 15.2 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches