Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009738/0.009738, allocations: 102 kB / 15.73 MB, free: 6.051 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.002129/0.002129, allocations: 195 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.939/2.939, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 67.89 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.166/1.546, allocations: 189.7 MB / 1.393 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01063/1.557, allocations: 4.282 MB / 1.397 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/1.56, allocations: 28.12 kB / 1.397 GB, free: 12.33 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/1.562, allocations: 0.495 MB / 1.398 GB, free: 11.91 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006495/1.569, allocations: 1.559 MB / 1.399 GB, free: 10.69 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/1.574, allocations: 1.348 MB / 1.4 GB, free: 9.711 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004617/1.578, allocations: 2.282 MB / 1.403 GB, free: 8.367 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/1.581, allocations: 1.081 MB / 1.404 GB, free: 7.645 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/1.584, allocations: 0.9634 MB / 1.405 GB, free: 7.078 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/1.586, allocations: 0.8736 MB / 1.406 GB, free: 6.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007037/1.587, allocations: 139.3 kB / 1.406 GB, free: 6.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/1.59, allocations: 1.239 MB / 1.407 GB, free: 5.859 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009107/1.591, allocations: 429 kB / 1.407 GB, free: 5.531 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/1.593, allocations: 0.6451 MB / 1.408 GB, free: 5.059 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005014/1.598, allocations: 1.977 MB / 1.41 GB, free: 3.676 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.598, allocations: 0 / 1.41 GB, free: 3.676 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.015e-06/1.598, allocations: 0 / 1.41 GB, free: 3.676 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.147e-05/1.598, allocations: 1.375 kB / 1.41 GB, free: 3.676 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.007354/1.605, allocations: 1.72 MB / 1.412 GB, free: 2.406 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/1.605, allocations: 7.812 kB / 1.412 GB, free: 2.406 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/1.607, allocations: 186 kB / 1.412 GB, free: 2.316 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/1.611, allocations: 1.074 MB / 1.413 GB, free: 1.508 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/1.611, allocations: 46.19 kB / 1.413 GB, free: 1.488 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/1.611, allocations: 59.47 kB / 1.413 GB, free: 1.469 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.612, allocations: 0.6098 MB / 1.413 GB, free: 1.113 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.613, allocations: 2.5 kB / 1.413 GB, free: 1.113 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/1.613, allocations: 19.3 kB / 1.414 GB, free: 1.098 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/1.613, allocations: 23.55 kB / 1.414 GB, free: 1.094 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.614, allocations: 0.624 MB / 1.414 GB, free: 0.793 MB / 1.092 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.005827/1.62, allocations: 2.658 MB / 1.417 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.621, allocations: 0.5313 MB / 1.417 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/1.622, allocations: 351.1 kB / 1.418 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/1.623, allocations: 296.7 kB / 1.418 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/1.623, allocations: 41.47 kB / 1.418 GB, free: 13.9 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009458/1.624, allocations: 141.8 kB / 1.418 GB, free: 13.83 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 7.564e-06/1.624, allocations: 0 / 1.418 GB, free: 13.83 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002827/1.626, allocations: 1.02 MB / 1.419 GB, free: 13.32 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.626, allocations: 56.5 kB / 1.419 GB, free: 13.25 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/1.629, allocations: 1.272 MB / 1.42 GB, free: 12.56 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.629, allocations: 42.88 kB / 1.42 GB, free: 12.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/1.63, allocations: 429.4 kB / 1.421 GB, free: 12.15 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/1.63, allocations: 146.9 kB / 1.421 GB, free: 12.02 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/1.63, allocations: 117.6 kB / 1.421 GB, free: 11.95 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.63, allocations: 322.6 kB / 1.421 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/1.631, allocations: 277.6 kB / 1.422 GB, free: 11.48 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/1.632, allocations: 481.3 kB / 1.422 GB, free: 10.93 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/1.633, allocations: 0.5923 MB / 1.423 GB, free: 10.34 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.633, allocations: 0 / 1.423 GB, free: 10.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001839/1.635, allocations: 0.7453 MB / 1.423 GB, free: 9.582 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.635, allocations: 4 kB / 1.423 GB, free: 9.578 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.635, allocations: 0 / 1.423 GB, free: 9.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.635, allocations: 4 kB / 1.423 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/1.636, allocations: 123.8 kB / 1.424 GB, free: 9.453 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.636, allocations: 4 kB / 1.424 GB, free: 9.449 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.637, allocations: 87.88 kB / 1.424 GB, free: 9.363 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.637, allocations: 23.97 kB / 1.424 GB, free: 9.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009358/1.638, allocations: 475.8 kB / 1.424 GB, free: 8.871 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008224/1.639, allocations: 485.8 kB / 1.425 GB, free: 8.316 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/1.64, allocations: 0.5868 MB / 1.425 GB, free: 7.727 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/1.64, allocations: 1.562 kB / 1.425 GB, free: 7.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001875/1.642, allocations: 0.7305 MB / 1.426 GB, free: 6.988 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.642, allocations: 11.94 kB / 1.426 GB, free: 6.977 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.642, allocations: 0 / 1.426 GB, free: 6.977 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.642, allocations: 4 kB / 1.426 GB, free: 6.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/1.643, allocations: 116.3 kB / 1.426 GB, free: 6.859 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.643, allocations: 8 kB / 1.426 GB, free: 6.852 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.645, allocations: 128.2 kB / 1.426 GB, free: 6.727 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/1.645, allocations: 19.98 kB / 1.426 GB, free: 6.707 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003171/1.645, allocations: 208.1 kB / 1.426 GB, free: 6.496 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/1.646, allocations: 106.7 kB / 1.426 GB, free: 6.391 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/1.648, allocations: 0.8076 MB / 1.427 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.648, allocations: 4 kB / 1.427 GB, free: 5.574 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.648, allocations: 0 / 1.427 GB, free: 5.574 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.648, allocations: 3.984 kB / 1.427 GB, free: 5.57 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/1.652, allocations: 1.948 MB / 1.429 GB, free: 3.539 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.652, allocations: 11.92 kB / 1.429 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/1.652, allocations: 111.8 kB / 1.429 GB, free: 3.422 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.652, allocations: 8.219 kB / 1.429 GB, free: 3.414 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/1.652, allocations: 19.98 kB / 1.429 GB, free: 3.395 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/1.652, allocations: 11.94 kB / 1.429 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.652, allocations: 0 / 1.429 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/1.655, allocations: 1.234 MB / 1.43 GB, free: 2.105 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/1.656, allocations: 287.7 kB / 1.431 GB, free: 1.805 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.656, allocations: 12 kB / 1.431 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.657, allocations: 67.91 kB / 1.431 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.657, allocations: 43.89 kB / 1.431 GB, free: 1.684 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/1.657, allocations: 23.97 kB / 1.431 GB, free: 1.66 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00184/1.659, allocations: 0.9208 MB / 1.432 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/1.659, allocations: 0 / 1.432 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001858/1.661, allocations: 415.4 kB / 1.432 GB, free: 332 kB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.0008509/1.662, allocations: 200.5 kB / 1.432 GB, free: 132 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.664, allocations: 0.941 MB / 1.433 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.664, allocations: 0 / 1.433 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/1.665, allocations: 339.5 kB / 1.434 GB, free: 14.85 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.667, allocations: 444.2 kB / 1.434 GB, free: 14.43 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/1.671, allocations: 1.686 MB / 1.436 GB, free: 12.69 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009518/1.672, allocations: 1.041 MB / 1.437 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00138/1.673, allocations: 287.1 kB / 1.437 GB, free: 11.33 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/1.674, allocations: 95.38 kB / 1.437 GB, free: 11.23 MB / 1.123 GB Notification: Performance of SimCode: time 1.292e-06/1.674, allocations: 0 / 1.437 GB, free: 11.23 MB / 1.123 GB Notification: Performance of Templates: time 0.0444/1.718, allocations: 21.88 MB / 1.458 GB, free: 5.594 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches