Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001057/0.001057, 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.008207/0.008207, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.359/1.359, 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 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6616, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2114/0.873, allocations: 175.8 MB / 1.195 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006695/0.8797, allocations: 3.735 MB / 1.198 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.8806, allocations: 27.81 kB / 1.198 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.8817, allocations: 366.2 kB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.8849, allocations: 1.183 MB / 1.2 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.8868, allocations: 0.6544 MB / 1.2 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.889, allocations: 1.836 MB / 1.202 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.8896, allocations: 413.6 kB / 1.203 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.8922, allocations: 0.8767 MB / 1.204 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.8929, allocations: 470.1 kB / 1.204 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.893, allocations: 20 kB / 1.204 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.8954, allocations: 1.317 MB / 1.205 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.8956, allocations: 175.4 kB / 1.205 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.8959, allocations: 324 kB / 1.206 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.8976, allocations: 1.223 MB / 1.207 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.8976, allocations: 0 / 1.207 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8976, allocations: 4 kB / 1.207 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.8976, allocations: 0 / 1.207 GB, free: 2.797 MB / 0.9512 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.001941/0.8996, allocations: 0.9195 MB / 1.208 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.8996, allocations: 16.03 kB / 1.208 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.901, allocations: 234.9 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.9018, allocations: 0.5381 MB / 1.209 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.9018, allocations: 29 kB / 1.209 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.9019, allocations: 43.94 kB / 1.209 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.903, allocations: 0.5552 MB / 1.209 GB, free: 360 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.903, allocations: 0 / 1.209 GB, free: 360 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.903, allocations: 16 kB / 1.209 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.9031, allocations: 13 kB / 1.209 GB, free: 332 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.9042, allocations: 0.5114 MB / 1.21 GB, free: 15.81 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.003024/0.9073, allocations: 2.234 MB / 1.212 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.908, allocations: 363.9 kB / 1.212 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.9082, allocations: 152.7 kB / 1.212 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.9096, allocations: 0.8572 MB / 1.213 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.91, allocations: 205.9 kB / 1.213 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.91, allocations: 0 / 1.213 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001028/0.911, allocations: 459 kB / 1.214 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.9111, allocations: 85.05 kB / 1.214 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.9119, allocations: 0.6525 MB / 1.215 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.912, allocations: 29.7 kB / 1.215 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.9122, allocations: 319.8 kB / 1.215 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.9123, allocations: 98.59 kB / 1.215 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.9124, allocations: 37.7 kB / 1.215 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9125, allocations: 370.8 kB / 1.215 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.9129, allocations: 140.8 kB / 1.216 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.9133, allocations: 298.2 kB / 1.216 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.914, allocations: 410.6 kB / 1.216 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.914, allocations: 0 / 1.216 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001/0.9151, allocations: 496.6 kB / 1.217 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.9152, allocations: 210.2 kB / 1.217 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9152, allocations: 7.938 kB / 1.217 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.9152, allocations: 8 kB / 1.217 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.9156, allocations: 91.89 kB / 1.217 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.9157, allocations: 11.92 kB / 1.217 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/0.9164, allocations: 95.45 kB / 1.217 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.9164, allocations: 20 kB / 1.217 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.9164, allocations: 4 kB / 1.217 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009418/0.9174, allocations: 417.3 kB / 1.218 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9174, allocations: 4.469 kB / 1.218 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.9174, allocations: 8.375 kB / 1.218 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.9178, allocations: 91.83 kB / 1.218 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.9179, allocations: 7.984 kB / 1.218 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.9184, allocations: 79.52 kB / 1.218 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.9184, allocations: 20 kB / 1.218 GB, free: 7.004 MB / 0.9669 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.0003448/0.9188, allocations: 296.9 kB / 1.218 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.9189, allocations: 63.25 kB / 1.218 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.9195, allocations: 339.5 kB / 1.218 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9195, allocations: 4 kB / 1.218 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.9196, allocations: 0 / 1.218 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9196, allocations: 0 / 1.218 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.9212, allocations: 1.114 MB / 1.22 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.9212, allocations: 0 / 1.22 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.9214, allocations: 47.92 kB / 1.22 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.9214, allocations: 4.312 kB / 1.22 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.9215, allocations: 19.92 kB / 1.22 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.9215, allocations: 4 kB / 1.22 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.9215, allocations: 7.938 kB / 1.22 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009188/0.9224, allocations: 0.6099 MB / 1.22 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.9226, allocations: 176.2 kB / 1.22 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.9227, allocations: 8 kB / 1.22 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.9231, allocations: 28.05 kB / 1.22 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.9231, allocations: 19.97 kB / 1.22 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.9232, allocations: 16 kB / 1.22 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006866/0.9239, allocations: 483 kB / 1.221 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9239, allocations: 0 / 1.221 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008999/0.9248, allocations: 279.5 kB / 1.221 GB, free: 3.348 MB / 0.9669 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.001203/0.926, allocations: 0.5057 MB / 1.222 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.9271, allocations: 0.5375 MB / 1.222 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9271, allocations: 0 / 1.222 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.9274, allocations: 129.7 kB / 1.222 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.9289, allocations: 275 kB / 1.223 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.9308, allocations: 1.388 MB / 1.224 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.9312, allocations: 0.8981 MB / 1.225 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.9319, allocations: 168.9 kB / 1.225 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.932, allocations: 47.42 kB / 1.225 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.932, allocations: 0 / 1.225 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of Templates: time 0.01726/0.9493, allocations: 10.23 MB / 1.235 GB, free: 5.414 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches