Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00148/0.00148, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001638/0.001638, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.437/2.437, allocations: 437 MB / 0.7107 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 73.31 kB / 0.8694 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3223, allocations: 151.6 MB / 1.017 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.847/1.169, allocations: 196.5 MB / 1.209 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006443/1.176, allocations: 3.706 MB / 1.213 GB, free: 14.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008836/1.177, allocations: 31.12 kB / 1.213 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/1.178, allocations: 384.2 kB / 1.213 GB, free: 13.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/1.181, allocations: 1.175 MB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/1.183, allocations: 0.6682 MB / 1.215 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001804/1.185, allocations: 1.368 MB / 1.216 GB, free: 11.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/1.186, allocations: 495.4 kB / 1.217 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/1.188, allocations: 0.9642 MB / 1.218 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007422/1.189, allocations: 486.2 kB / 1.218 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/1.189, allocations: 46.84 kB / 1.218 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/1.192, allocations: 1.227 MB / 1.22 GB, free: 9.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/1.192, allocations: 204.4 kB / 1.22 GB, free: 9.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/1.192, allocations: 330 kB / 1.22 GB, free: 9.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/1.194, allocations: 0.8625 MB / 1.221 GB, free: 9.121 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.194, allocations: 0 / 1.221 GB, free: 9.121 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/1.194, allocations: 0 / 1.221 GB, free: 9.121 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.194, allocations: 0 / 1.221 GB, free: 9.121 MB / 0.92 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.002068/1.196, allocations: 1.046 MB / 1.222 GB, free: 8.262 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.196, allocations: 7.75 kB / 1.222 GB, free: 8.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.197, allocations: 221.4 kB / 1.222 GB, free: 8.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/1.198, allocations: 0.5358 MB / 1.223 GB, free: 7.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/1.198, allocations: 35.09 kB / 1.223 GB, free: 7.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/1.198, allocations: 44.81 kB / 1.223 GB, free: 7.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.199, allocations: 0.5356 MB / 1.223 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.199, allocations: 4 kB / 1.223 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/1.199, allocations: 16 kB / 1.223 GB, free: 7.242 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/1.199, allocations: 21 kB / 1.223 GB, free: 7.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.2, allocations: 0.5049 MB / 1.224 GB, free: 6.719 MB / 0.92 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.003168/1.203, allocations: 2.215 MB / 1.226 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007483/1.204, allocations: 351.8 kB / 1.226 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/1.204, allocations: 132.8 kB / 1.226 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.206, allocations: 0.8455 MB / 1.227 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/1.206, allocations: 199 kB / 1.227 GB, free: 2.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/1.206, allocations: 0 / 1.227 GB, free: 2.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001003/1.207, allocations: 442.1 kB / 1.228 GB, free: 2.156 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/1.207, allocations: 81.11 kB / 1.228 GB, free: 2.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/1.208, allocations: 0.6525 MB / 1.229 GB, free: 1.398 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/1.208, allocations: 29.7 kB / 1.229 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/1.208, allocations: 315.8 kB / 1.229 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/1.208, allocations: 94.73 kB / 1.229 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/1.208, allocations: 81.59 kB / 1.229 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.209, allocations: 370.8 kB / 1.229 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/1.209, allocations: 136.7 kB / 1.23 GB, free: 372 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/1.209, allocations: 292.9 kB / 1.23 GB, free: 16 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/1.21, allocations: 389.9 kB / 1.23 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.21, allocations: 7.938 kB / 1.23 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009451/1.211, allocations: 468.6 kB / 1.231 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.211, allocations: 10.66 kB / 1.231 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.211, allocations: 7.812 kB / 1.231 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.211, allocations: 4 kB / 1.231 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/1.211, allocations: 88.08 kB / 1.231 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/1.212, allocations: 14.11 kB / 1.231 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/1.212, allocations: 87.48 kB / 1.231 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/1.212, allocations: 20 kB / 1.231 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004787/1.213, allocations: 288 kB / 1.231 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004242/1.213, allocations: 277.7 kB / 1.231 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005709/1.214, allocations: 388.9 kB / 1.232 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/1.214, allocations: 7.984 kB / 1.232 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0008954/1.215, allocations: 470.2 kB / 1.232 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.215, allocations: 4 kB / 1.232 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.215, allocations: 8.469 kB / 1.232 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.77e-06/1.215, allocations: 8 kB / 1.232 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/1.215, allocations: 83.83 kB / 1.232 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.215, allocations: 8 kB / 1.232 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/1.216, allocations: 71.7 kB / 1.232 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/1.216, allocations: 19.98 kB / 1.232 GB, free: 13.17 MB / 0.9356 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.0001544/1.216, allocations: 212 kB / 1.233 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/1.216, allocations: 59.34 kB / 1.233 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/1.217, allocations: 319.8 kB / 1.233 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.217, allocations: 4 kB / 1.233 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.217, allocations: 3.984 kB / 1.233 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.217, allocations: 0 / 1.233 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/1.218, allocations: 1.089 MB / 1.234 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.218, allocations: 4.312 kB / 1.234 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/1.218, allocations: 47.92 kB / 1.234 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.218, allocations: 7.938 kB / 1.234 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.218, allocations: 8 kB / 1.234 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.218, allocations: 4 kB / 1.234 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.218, allocations: 4.875 kB / 1.234 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/1.219, allocations: 475.8 kB / 1.235 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/1.219, allocations: 168.2 kB / 1.235 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/1.219, allocations: 8 kB / 1.235 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/1.219, allocations: 23.97 kB / 1.235 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/1.22, allocations: 27.86 kB / 1.235 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/1.22, allocations: 12 kB / 1.235 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006002/1.22, allocations: 475 kB / 1.235 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.22, allocations: 0 / 1.235 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009038/1.221, allocations: 271.5 kB / 1.236 GB, free: 9.82 MB / 0.9356 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.001232/1.222, allocations: 0.5247 MB / 1.236 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.223, allocations: 0.5069 MB / 1.237 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.223, allocations: 0 / 1.237 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/1.224, allocations: 126.4 kB / 1.237 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.225, allocations: 278.4 kB / 1.237 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/1.227, allocations: 1.262 MB / 1.238 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/1.228, allocations: 0.8938 MB / 1.239 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/1.228, allocations: 51.42 kB / 1.239 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/1.228, allocations: 0 / 1.239 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.01643/1.244, allocations: 9.778 MB / 1.249 GB, free: 12.58 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches