Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_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.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005719/0.005719, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001217/0.001218, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.4 MB, free: 15.16 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.523/2.523, allocations: 437 MB / 0.7105 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.84 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9234, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.217/1.14, allocations: 199 MB / 1.361 GB, free: 12.13 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006931/1.147, allocations: 3.74 MB / 1.365 GB, free: 8.375 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008161/1.148, allocations: 27.81 kB / 1.365 GB, free: 8.348 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/1.15, allocations: 445.5 kB / 1.365 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003423/1.153, allocations: 1.309 MB / 1.366 GB, free: 6.598 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/1.155, allocations: 0.7534 MB / 1.367 GB, free: 5.848 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001998/1.157, allocations: 1.36 MB / 1.368 GB, free: 4.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/1.158, allocations: 498.6 kB / 1.369 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/1.161, allocations: 1.008 MB / 1.37 GB, free: 2.984 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/1.161, allocations: 470.1 kB / 1.37 GB, free: 2.523 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/1.161, allocations: 44 kB / 1.37 GB, free: 2.48 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/1.164, allocations: 1.193 MB / 1.371 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/1.164, allocations: 207.3 kB / 1.372 GB, free: 1.082 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/1.164, allocations: 326.3 kB / 1.372 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/1.166, allocations: 1.207 MB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.166, allocations: 0 / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.296e-06/1.166, allocations: 4 kB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.166, allocations: 0 / 1.373 GB, free: 15.55 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002067/1.168, allocations: 1.085 MB / 1.374 GB, free: 14.41 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.168, allocations: 8.625 kB / 1.374 GB, free: 14.4 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/1.169, allocations: 227.3 kB / 1.374 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/1.17, allocations: 0.5698 MB / 1.375 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/1.17, allocations: 33 kB / 1.375 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/1.17, allocations: 44 kB / 1.375 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.172, allocations: 0.5473 MB / 1.376 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.172, allocations: 0 / 1.376 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/1.172, allocations: 16 kB / 1.376 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/1.172, allocations: 21 kB / 1.376 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.173, allocations: 0.4957 MB / 1.376 GB, free: 12.39 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.002984/1.176, allocations: 2.215 MB / 1.378 GB, free: 10 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/1.176, allocations: 363.9 kB / 1.379 GB, free: 9.621 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/1.177, allocations: 152.7 kB / 1.379 GB, free: 9.469 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/1.178, allocations: 0.8377 MB / 1.38 GB, free: 8.465 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/1.178, allocations: 200.9 kB / 1.38 GB, free: 8.25 MB / 1.107 GB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/1.178, allocations: 0 / 1.38 GB, free: 8.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=28): time 0.001004/1.179, allocations: 463.1 kB / 1.38 GB, free: 7.793 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.179, allocations: 85.11 kB / 1.38 GB, free: 7.691 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/1.18, allocations: 0.6486 MB / 1.381 GB, free: 7.035 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.18, allocations: 33.7 kB / 1.381 GB, free: 6.996 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/1.18, allocations: 316.2 kB / 1.381 GB, free: 6.684 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/1.181, allocations: 107.2 kB / 1.381 GB, free: 6.578 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/1.181, allocations: 90.06 kB / 1.381 GB, free: 6.484 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.181, allocations: 370.8 kB / 1.382 GB, free: 6.113 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/1.181, allocations: 150.5 kB / 1.382 GB, free: 5.965 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/1.182, allocations: 298.3 kB / 1.382 GB, free: 5.609 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/1.182, allocations: 413.3 kB / 1.383 GB, free: 5.152 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.182, allocations: 4 kB / 1.383 GB, free: 5.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009838/1.183, allocations: 499.6 kB / 1.383 GB, free: 4.656 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.183, allocations: 10.5 kB / 1.383 GB, free: 4.648 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.183, allocations: 4 kB / 1.383 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.183, allocations: 8.312 kB / 1.383 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/1.184, allocations: 99.81 kB / 1.383 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.184, allocations: 8 kB / 1.383 GB, free: 4.531 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/1.184, allocations: 75.62 kB / 1.383 GB, free: 4.457 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.184, allocations: 20 kB / 1.383 GB, free: 4.438 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005122/1.185, allocations: 304.9 kB / 1.384 GB, free: 4.137 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004395/1.185, allocations: 299.4 kB / 1.384 GB, free: 3.785 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006172/1.186, allocations: 399.3 kB / 1.384 GB, free: 3.34 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.186, allocations: 4 kB / 1.384 GB, free: 3.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009727/1.187, allocations: 0.4992 MB / 1.385 GB, free: 2.832 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.187, allocations: 4 kB / 1.385 GB, free: 2.828 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.187, allocations: 8 kB / 1.385 GB, free: 2.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/1.187, allocations: 4.281 kB / 1.385 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/1.187, allocations: 87.89 kB / 1.385 GB, free: 2.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.188, allocations: 19.91 kB / 1.385 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/1.188, allocations: 71.73 kB / 1.385 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/1.188, allocations: 20 kB / 1.385 GB, free: 2.621 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 (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.0001558/1.188, allocations: 212 kB / 1.385 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/1.188, allocations: 67.58 kB / 1.385 GB, free: 2.34 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/1.189, allocations: 338.2 kB / 1.386 GB, free: 2 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.189, allocations: 8 kB / 1.386 GB, free: 1.992 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.189, allocations: 3.938 kB / 1.386 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.189, allocations: 0 / 1.386 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.191, allocations: 1.118 MB / 1.387 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.191, allocations: 0 / 1.387 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.191, allocations: 43.92 kB / 1.387 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.191, allocations: 7.938 kB / 1.387 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/1.191, allocations: 8.062 kB / 1.387 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.191, allocations: 8.312 kB / 1.387 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.191, allocations: 8 kB / 1.387 GB, free: 0.707 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/1.192, allocations: 0.6322 MB / 1.387 GB, free: 28 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/1.192, allocations: 168.6 kB / 1.388 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/1.192, allocations: 8 kB / 1.388 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/1.192, allocations: 20.05 kB / 1.388 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/1.192, allocations: 23.92 kB / 1.388 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.192, allocations: 19.92 kB / 1.388 GB, free: 15.77 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006286/1.193, allocations: 475 kB / 1.388 GB, free: 15.32 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.193, allocations: 0 / 1.388 GB, free: 15.32 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008642/1.194, allocations: 275.6 kB / 1.388 GB, free: 15.05 MB / 1.123 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.001179/1.195, allocations: 0.508 MB / 1.389 GB, free: 14.7 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001161/1.196, allocations: 0.5341 MB / 1.389 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.196, allocations: 0 / 1.389 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/1.197, allocations: 135.9 kB / 1.389 GB, free: 14.03 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.198, allocations: 281.5 kB / 1.39 GB, free: 13.76 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.2, allocations: 1.164 MB / 1.391 GB, free: 12.54 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/1.2, allocations: 0.8978 MB / 1.392 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005443/1.201, allocations: 165 kB / 1.392 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/1.201, allocations: 47.42 kB / 1.392 GB, free: 11.4 MB / 1.123 GB Notification: Performance of SimCode: time 3.41e-07/1.201, allocations: 0 / 1.392 GB, free: 11.4 MB / 1.123 GB Notification: Performance of Templates: time 0.01874/1.22, allocations: 10.72 MB / 1.402 GB, free: 0.8125 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches