Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SprayAirWasher_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.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005875/0.005875, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001189/0.001189, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7453 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3113, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.9043/1.216, allocations: 180.3 MB / 1.402 GB, free: 2.133 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006623/1.222, allocations: 3.747 MB / 1.405 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/1.223, allocations: 28.16 kB / 1.405 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/1.225, allocations: 429.2 kB / 1.406 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/1.228, allocations: 1.251 MB / 1.407 GB, free: 13.83 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/1.23, allocations: 0.7512 MB / 1.408 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001909/1.232, allocations: 1.356 MB / 1.409 GB, free: 12.49 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/1.232, allocations: 479.9 kB / 1.41 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/1.235, allocations: 0.9665 MB / 1.41 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/1.236, allocations: 456.7 kB / 1.411 GB, free: 11.35 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.861e-05/1.236, allocations: 46 kB / 1.411 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/1.238, allocations: 1.19 MB / 1.412 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/1.238, allocations: 197.8 kB / 1.412 GB, free: 10.55 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003828/1.239, allocations: 327.2 kB / 1.413 GB, free: 10.34 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/1.241, allocations: 1.198 MB / 1.414 GB, free: 9.586 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.241, allocations: 3.938 kB / 1.414 GB, free: 9.582 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.683e-06/1.241, allocations: 1.25 kB / 1.414 GB, free: 9.582 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.338e-05/1.241, allocations: 0 / 1.414 GB, free: 9.582 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002135/1.243, allocations: 1.066 MB / 1.415 GB, free: 8.699 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.243, allocations: 8.75 kB / 1.415 GB, free: 8.699 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.244, allocations: 225.6 kB / 1.415 GB, free: 8.594 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/1.245, allocations: 0.5681 MB / 1.416 GB, free: 8.113 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/1.245, allocations: 29.06 kB / 1.416 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/1.245, allocations: 45.59 kB / 1.416 GB, free: 8.082 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/1.246, allocations: 0.5325 MB / 1.416 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.246, allocations: 7.094 kB / 1.416 GB, free: 7.746 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/1.246, allocations: 13.84 kB / 1.416 GB, free: 7.734 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/1.246, allocations: 14.94 kB / 1.416 GB, free: 7.734 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/1.248, allocations: 0.5096 MB / 1.417 GB, free: 7.484 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.003096/1.251, allocations: 2.223 MB / 1.419 GB, free: 5.543 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/1.251, allocations: 348.8 kB / 1.419 GB, free: 5.309 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/1.252, allocations: 146.6 kB / 1.419 GB, free: 5.234 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/1.253, allocations: 0.8419 MB / 1.42 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/1.253, allocations: 191.4 kB / 1.42 GB, free: 4.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 3.968e-06/1.253, allocations: 0 / 1.42 GB, free: 4.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=26): time 0.001067/1.254, allocations: 439.1 kB / 1.421 GB, free: 3.961 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/1.254, allocations: 87.23 kB / 1.421 GB, free: 3.859 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/1.255, allocations: 0.6507 MB / 1.422 GB, free: 3.492 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/1.255, allocations: 31.08 kB / 1.422 GB, free: 3.457 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.256, allocations: 329.4 kB / 1.422 GB, free: 3.168 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/1.256, allocations: 92.22 kB / 1.422 GB, free: 3.09 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/1.256, allocations: 81.95 kB / 1.422 GB, free: 3.035 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.256, allocations: 373.9 kB / 1.422 GB, free: 2.676 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/1.256, allocations: 132.5 kB / 1.423 GB, free: 2.609 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/1.257, allocations: 281.8 kB / 1.423 GB, free: 2.363 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/1.257, allocations: 384.8 kB / 1.423 GB, free: 2.074 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.257, allocations: 6.094 kB / 1.423 GB, free: 2.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009676/1.258, allocations: 474.1 kB / 1.424 GB, free: 1.828 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.258, allocations: 8.25 kB / 1.424 GB, free: 1.828 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.258, allocations: 2.594 kB / 1.424 GB, free: 1.828 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.258, allocations: 7.5 kB / 1.424 GB, free: 1.828 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.259, allocations: 92.89 kB / 1.424 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.259, allocations: 9.641 kB / 1.424 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/1.259, allocations: 70.98 kB / 1.424 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/1.26, allocations: 27.42 kB / 1.424 GB, free: 1.75 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004909/1.26, allocations: 300.8 kB / 1.424 GB, free: 1.559 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004205/1.26, allocations: 278.1 kB / 1.424 GB, free: 1.316 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005868/1.261, allocations: 384.2 kB / 1.425 GB, free: 1.027 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/1.261, allocations: 2.625 kB / 1.425 GB, free: 1.027 MB / 1.107 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009309/1.262, allocations: 477.7 kB / 1.425 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/1.262, allocations: 5.344 kB / 1.425 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.262, allocations: 5.344 kB / 1.425 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/1.262, allocations: 5.312 kB / 1.425 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/1.262, allocations: 95.16 kB / 1.425 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.262, allocations: 8.688 kB / 1.425 GB, free: 0.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/1.263, allocations: 70.66 kB / 1.425 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.263, allocations: 16.41 kB / 1.425 GB, free: 0.7109 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 (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.000127/1.263, allocations: 206.9 kB / 1.426 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/1.263, allocations: 64.3 kB / 1.426 GB, free: 488 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/1.264, allocations: 330.6 kB / 1.426 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.264, allocations: 2.562 kB / 1.426 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.264, allocations: 6.75 kB / 1.426 GB, free: 272 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.264, allocations: 3.938 kB / 1.426 GB, free: 268 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/1.265, allocations: 1.088 MB / 1.427 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.265, allocations: 4 kB / 1.427 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.265, allocations: 31.98 kB / 1.427 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.266, allocations: 4 kB / 1.427 GB, free: 15.17 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/1.266, allocations: 12 kB / 1.427 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.266, allocations: 3.938 kB / 1.427 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.266, allocations: 4 kB / 1.427 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/1.266, allocations: 495.8 kB / 1.428 GB, free: 14.62 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/1.266, allocations: 156.6 kB / 1.428 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/1.266, allocations: 4 kB / 1.428 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/1.267, allocations: 19.98 kB / 1.428 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/1.267, allocations: 35.84 kB / 1.428 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/1.267, allocations: 8 kB / 1.428 GB, free: 14.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006177/1.267, allocations: 475 kB / 1.428 GB, free: 13.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.263e-06/1.267, allocations: 4 kB / 1.428 GB, free: 13.92 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008401/1.268, allocations: 275.5 kB / 1.429 GB, free: 13.65 MB / 1.123 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.001223/1.27, allocations: 0.497 MB / 1.429 GB, free: 13.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.271, allocations: 0.5045 MB / 1.43 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.271, allocations: 4 kB / 1.43 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/1.271, allocations: 124.9 kB / 1.43 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.272, allocations: 281.7 kB / 1.43 GB, free: 12.43 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.274, allocations: 1.024 MB / 1.431 GB, free: 11.34 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/1.275, allocations: 0.8905 MB / 1.432 GB, free: 10.43 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005977/1.275, allocations: 176.8 kB / 1.432 GB, free: 10.25 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.275, allocations: 43.44 kB / 1.432 GB, free: 10.21 MB / 1.123 GB Notification: Performance of SimCode: time 3.41e-07/1.275, allocations: 3.938 kB / 1.432 GB, free: 10.2 MB / 1.123 GB Notification: Performance of Templates: time 0.01818/1.294, allocations: 10.46 MB / 1.442 GB, free: 15.88 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches