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.001426/0.001426, allocations: 112.3 kB / 15.99 MB, free: 5.914 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.001385/0.001385, allocations: 194.2 kB / 16.91 MB, free: 5.754 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 68.02 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.7755/1.091, allocations: 178 MB / 1.238 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006612/1.097, allocations: 3.731 MB / 1.242 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/1.098, allocations: 23.81 kB / 1.242 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/1.099, allocations: 390.2 kB / 1.242 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/1.103, allocations: 1.175 MB / 1.243 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/1.104, allocations: 0.6676 MB / 1.244 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001848/1.106, allocations: 1.367 MB / 1.245 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007279/1.107, allocations: 473.2 kB / 1.246 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/1.11, allocations: 0.9773 MB / 1.246 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/1.11, allocations: 490.1 kB / 1.247 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/1.11, allocations: 44 kB / 1.247 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/1.113, allocations: 1.22 MB / 1.248 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/1.113, allocations: 199.4 kB / 1.248 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000362/1.113, allocations: 330.2 kB / 1.249 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/1.115, allocations: 0.8771 MB / 1.25 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.115, allocations: 0 / 1.25 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/1.115, allocations: 0 / 1.25 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.115, allocations: 0 / 1.25 GB, free: 11.28 MB / 0.9669 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.002136/1.117, allocations: 1.045 MB / 1.251 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.117, allocations: 12.03 kB / 1.251 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/1.118, allocations: 222.8 kB / 1.251 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/1.119, allocations: 0.542 MB / 1.251 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/1.119, allocations: 29 kB / 1.251 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/1.119, allocations: 40 kB / 1.251 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.12, allocations: 0.5396 MB / 1.252 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.12, allocations: 3.938 kB / 1.252 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/1.12, allocations: 16 kB / 1.252 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/1.12, allocations: 20.94 kB / 1.252 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/1.122, allocations: 0.4996 MB / 1.252 GB, free: 8.207 MB / 0.9669 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.003361/1.125, allocations: 2.215 MB / 1.255 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/1.126, allocations: 359.9 kB / 1.255 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/1.126, allocations: 148.7 kB / 1.255 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/1.127, allocations: 0.8376 MB / 1.256 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/1.128, allocations: 204.9 kB / 1.256 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/1.128, allocations: 0 / 1.256 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001115/1.129, allocations: 462.8 kB / 1.257 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/1.129, allocations: 81.11 kB / 1.257 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/1.13, allocations: 0.6486 MB / 1.257 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/1.13, allocations: 33.7 kB / 1.257 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/1.13, allocations: 315.7 kB / 1.258 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/1.13, allocations: 102.6 kB / 1.258 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.131, allocations: 90.02 kB / 1.258 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.131, allocations: 370.8 kB / 1.258 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/1.131, allocations: 146.5 kB / 1.258 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/1.132, allocations: 308.6 kB / 1.259 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/1.132, allocations: 409.4 kB / 1.259 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.132, allocations: 7.938 kB / 1.259 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001099/1.133, allocations: 496.8 kB / 1.259 GB, free: 496 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.133, allocations: 8 kB / 1.259 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.134, allocations: 4 kB / 1.259 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.134, allocations: 4 kB / 1.259 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/1.134, allocations: 99.81 kB / 1.26 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.134, allocations: 8.156 kB / 1.26 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/1.135, allocations: 80.48 kB / 1.26 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/1.135, allocations: 23.98 kB / 1.26 GB, free: 268 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005917/1.135, allocations: 300.9 kB / 1.26 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005031/1.136, allocations: 306.2 kB / 1.26 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006865/1.137, allocations: 403 kB / 1.261 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/1.137, allocations: 0 / 1.261 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001052/1.138, allocations: 498.8 kB / 1.261 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.138, allocations: 4 kB / 1.261 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.138, allocations: 7.984 kB / 1.261 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/1.138, allocations: 8 kB / 1.261 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/1.138, allocations: 92.05 kB / 1.261 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.138, allocations: 11.94 kB / 1.261 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/1.139, allocations: 76.5 kB / 1.261 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/1.139, allocations: 20 kB / 1.261 GB, free: 14.44 MB / 0.9825 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.0001951/1.139, allocations: 210.9 kB / 1.262 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/1.139, allocations: 63.44 kB / 1.262 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/1.14, allocations: 351.9 kB / 1.262 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.14, allocations: 4 kB / 1.262 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.14, allocations: 0 / 1.262 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.14, allocations: 0 / 1.262 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/1.141, allocations: 1.105 MB / 1.263 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.141, allocations: 3.938 kB / 1.263 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/1.142, allocations: 47.92 kB / 1.263 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/1.142, allocations: 4.312 kB / 1.263 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/1.142, allocations: 15.94 kB / 1.263 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.142, allocations: 7.938 kB / 1.263 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.142, allocations: 5.297 kB / 1.263 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/1.143, allocations: 0.6202 MB / 1.264 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/1.143, allocations: 164.2 kB / 1.264 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/1.143, allocations: 11.98 kB / 1.264 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/1.143, allocations: 28.05 kB / 1.264 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/1.143, allocations: 31.84 kB / 1.264 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/1.143, allocations: 8 kB / 1.264 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006757/1.144, allocations: 483 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.144, allocations: 0 / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008978/1.145, allocations: 267.6 kB / 1.265 GB, free: 10.88 MB / 0.9825 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.001699/1.147, allocations: 0.5244 MB / 1.265 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.148, allocations: 0.539 MB / 1.266 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.148, allocations: 0 / 1.266 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/1.148, allocations: 127.8 kB / 1.266 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.15, allocations: 287.3 kB / 1.266 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/1.152, allocations: 1.378 MB / 1.267 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/1.153, allocations: 0.8939 MB / 1.268 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/1.153, allocations: 55.36 kB / 1.268 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/1.153, allocations: 0 / 1.268 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.01611/1.169, allocations: 9.949 MB / 1.278 GB, free: 13.29 MB / 0.9981 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/jenkins1/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