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 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.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.006042/0.006043, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001294/0.001294, allocations: 193.2 kB / 16.67 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.046/3.046, allocations: 472.6 MB / 0.7453 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.12 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4073, allocations: 159.9 MB / 1.226 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.172/1.579, allocations: 189.7 MB / 1.411 GB, free: 10.51 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009473/1.589, allocations: 4.279 MB / 1.415 GB, free: 7.012 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/1.591, allocations: 28.31 kB / 1.415 GB, free: 7 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/1.592, allocations: 0.5031 MB / 1.416 GB, free: 6.574 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005454/1.598, allocations: 1.558 MB / 1.417 GB, free: 5.348 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004703/1.602, allocations: 1.349 MB / 1.418 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00482/1.607, allocations: 2.27 MB / 1.421 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/1.609, allocations: 1.074 MB / 1.422 GB, free: 2.316 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/1.611, allocations: 0.9583 MB / 1.423 GB, free: 1.75 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/1.612, allocations: 0.8711 MB / 1.423 GB, free: 1.176 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/1.613, allocations: 138.7 kB / 1.424 GB, free: 1.176 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/1.616, allocations: 1.243 MB / 1.425 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004651/1.616, allocations: 420 kB / 1.425 GB, free: 216 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008196/1.617, allocations: 0.6502 MB / 1.426 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/1.62, allocations: 1.975 MB / 1.428 GB, free: 14.35 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.62, allocations: 3.984 kB / 1.428 GB, free: 14.35 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.014e-06/1.62, allocations: 0 / 1.428 GB, free: 14.35 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.62, allocations: 0 / 1.428 GB, free: 14.35 MB / 1.123 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.00428/1.625, allocations: 1.772 MB / 1.43 GB, free: 13.03 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.625, allocations: 9.906 kB / 1.43 GB, free: 13.03 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/1.626, allocations: 190.2 kB / 1.43 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/1.628, allocations: 1.072 MB / 1.431 GB, free: 12.12 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/1.628, allocations: 51.86 kB / 1.431 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.628, allocations: 58.97 kB / 1.431 GB, free: 12.05 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.629, allocations: 0.6083 MB / 1.431 GB, free: 11.44 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.629, allocations: 0 / 1.431 GB, free: 11.44 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/1.629, allocations: 20 kB / 1.431 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/1.629, allocations: 21 kB / 1.431 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/1.631, allocations: 0.6246 MB / 1.432 GB, free: 10.78 MB / 1.123 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.004429/1.635, allocations: 2.663 MB / 1.435 GB, free: 7.969 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.636, allocations: 0.5437 MB / 1.435 GB, free: 7.418 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/1.637, allocations: 353.3 kB / 1.436 GB, free: 7.07 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004269/1.637, allocations: 291.3 kB / 1.436 GB, free: 6.73 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.637, allocations: 38.5 kB / 1.436 GB, free: 6.684 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000727/1.638, allocations: 143.6 kB / 1.436 GB, free: 6.543 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 4.057e-06/1.638, allocations: 0 / 1.436 GB, free: 6.543 MB / 1.123 GB Notification: Performance of matching and sorting (n=43): time 0.002385/1.64, allocations: 1.02 MB / 1.437 GB, free: 5.516 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/1.64, allocations: 55.41 kB / 1.437 GB, free: 5.449 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.643, allocations: 1.279 MB / 1.438 GB, free: 4.152 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/1.643, allocations: 37.7 kB / 1.438 GB, free: 4.109 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/1.643, allocations: 438 kB / 1.439 GB, free: 3.68 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/1.643, allocations: 154.6 kB / 1.439 GB, free: 3.527 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/1.644, allocations: 122 kB / 1.439 GB, free: 3.402 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.644, allocations: 322 kB / 1.439 GB, free: 3.082 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/1.644, allocations: 274.2 kB / 1.44 GB, free: 2.812 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/1.645, allocations: 489.2 kB / 1.44 GB, free: 2.258 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.646, allocations: 0.5908 MB / 1.441 GB, free: 1.664 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.646, allocations: 0 / 1.441 GB, free: 1.664 MB / 1.123 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001633/1.648, allocations: 0.7459 MB / 1.441 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.648, allocations: 7.984 kB / 1.441 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.648, allocations: 4 kB / 1.441 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.648, allocations: 3.938 kB / 1.441 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/1.649, allocations: 123.8 kB / 1.442 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.649, allocations: 0 / 1.442 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.65, allocations: 93.3 kB / 1.442 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/1.65, allocations: 31.97 kB / 1.442 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009394/1.651, allocations: 463.9 kB / 1.442 GB, free: 204 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007801/1.652, allocations: 482.3 kB / 1.443 GB, free: 15.65 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/1.653, allocations: 0.5838 MB / 1.443 GB, free: 15.06 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/1.653, allocations: 0 / 1.443 GB, free: 15.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001576/1.655, allocations: 0.7388 MB / 1.444 GB, free: 14.32 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.655, allocations: 11.92 kB / 1.444 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.655, allocations: 1.375 kB / 1.444 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/1.655, allocations: 7.984 kB / 1.444 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/1.655, allocations: 123.8 kB / 1.444 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.655, allocations: 4 kB / 1.444 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.657, allocations: 116.3 kB / 1.444 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/1.657, allocations: 27.97 kB / 1.444 GB, free: 14.03 MB / 1.139 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.0002521/1.657, allocations: 200.2 kB / 1.444 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/1.657, allocations: 119.2 kB / 1.444 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/1.659, allocations: 0.8081 MB / 1.445 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/1.659, allocations: 4 kB / 1.445 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.659, allocations: 0 / 1.445 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.659, allocations: 3.984 kB / 1.445 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/1.662, allocations: 1.953 MB / 1.447 GB, free: 10.85 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.662, allocations: 4.875 kB / 1.447 GB, free: 10.85 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/1.663, allocations: 108.1 kB / 1.447 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.663, allocations: 8 kB / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/1.663, allocations: 12 kB / 1.447 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/1.663, allocations: 19.86 kB / 1.447 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.663, allocations: 0.5 kB / 1.447 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.665, allocations: 1.237 MB / 1.448 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/1.666, allocations: 292.2 kB / 1.449 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/1.666, allocations: 16 kB / 1.449 GB, free: 9.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.667, allocations: 68.47 kB / 1.449 GB, free: 9.035 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.667, allocations: 39.95 kB / 1.449 GB, free: 8.996 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/1.667, allocations: 12 kB / 1.449 GB, free: 8.984 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001491/1.669, allocations: 0.9286 MB / 1.45 GB, free: 8.047 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.669, allocations: 0 / 1.45 GB, free: 8.047 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001299/1.67, allocations: 411.4 kB / 1.45 GB, free: 7.645 MB / 1.139 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.0005881/1.671, allocations: 228.7 kB / 1.45 GB, free: 7.426 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.673, allocations: 0.9408 MB / 1.451 GB, free: 6.488 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.673, allocations: 3.938 kB / 1.451 GB, free: 6.484 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/1.673, allocations: 340.1 kB / 1.452 GB, free: 6.152 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.676, allocations: 417 kB / 1.452 GB, free: 5.754 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/1.679, allocations: 1.708 MB / 1.454 GB, free: 3.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/1.679, allocations: 1.045 MB / 1.455 GB, free: 2.906 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001213/1.681, allocations: 295 kB / 1.455 GB, free: 2.613 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/1.681, allocations: 99.33 kB / 1.455 GB, free: 2.516 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/1.681, allocations: 0 / 1.455 GB, free: 2.516 MB / 1.139 GB Notification: Performance of Templates: time 0.04419/1.725, allocations: 21.42 MB / 1.476 GB, free: 13.34 MB / 1.17 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