Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.006612/0.006612, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001254/0.001254, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.547/2.547, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.88 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2123/1.298, allocations: 189.7 MB / 1.352 GB, free: 5.461 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008276/1.306, allocations: 4.287 MB / 1.356 GB, free: 1.164 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/1.308, allocations: 27.81 kB / 1.356 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/1.309, allocations: 0.5162 MB / 1.357 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/1.314, allocations: 1.622 MB / 1.358 GB, free: 14.99 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/1.318, allocations: 1.354 MB / 1.359 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004817/1.323, allocations: 2.28 MB / 1.362 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/1.325, allocations: 1.073 MB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/1.327, allocations: 0.9693 MB / 1.364 GB, free: 9.301 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/1.328, allocations: 0.8755 MB / 1.365 GB, free: 8.422 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/1.329, allocations: 144 kB / 1.365 GB, free: 8.281 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/1.332, allocations: 1.255 MB / 1.366 GB, free: 7.023 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004982/1.332, allocations: 414.7 kB / 1.366 GB, free: 6.617 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007861/1.333, allocations: 0.6453 MB / 1.367 GB, free: 5.969 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003355/1.336, allocations: 1.978 MB / 1.369 GB, free: 3.984 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.336, allocations: 0 / 1.369 GB, free: 3.984 MB / 1.092 GB Notification: Performance of FrontEnd: time 5.511e-06/1.336, allocations: 0 / 1.369 GB, free: 3.984 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.413e-05/1.336, allocations: 3.938 kB / 1.369 GB, free: 3.98 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.004306/1.341, allocations: 1.762 MB / 1.371 GB, free: 2.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.341, allocations: 16.03 kB / 1.371 GB, free: 2.145 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/1.342, allocations: 187.1 kB / 1.371 GB, free: 1.961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/1.344, allocations: 1.081 MB / 1.372 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/1.344, allocations: 45 kB / 1.372 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.344, allocations: 63.94 kB / 1.372 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.345, allocations: 0.6114 MB / 1.373 GB, free: 104 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.345, allocations: 4 kB / 1.373 GB, free: 100 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/1.345, allocations: 20 kB / 1.373 GB, free: 80 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/1.345, allocations: 20.98 kB / 1.373 GB, free: 60 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/1.346, allocations: 0.6207 MB / 1.373 GB, free: 15.44 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.004259/1.351, allocations: 2.674 MB / 1.376 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.352, allocations: 0.545 MB / 1.376 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/1.352, allocations: 347 kB / 1.377 GB, free: 11.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/1.353, allocations: 295.2 kB / 1.377 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.353, allocations: 38.56 kB / 1.377 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006752/1.354, allocations: 147.6 kB / 1.377 GB, free: 11.2 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/1.354, allocations: 0 / 1.377 GB, free: 11.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002287/1.356, allocations: 1.013 MB / 1.378 GB, free: 10.18 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/1.356, allocations: 59.41 kB / 1.378 GB, free: 10.11 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.358, allocations: 1.279 MB / 1.379 GB, free: 8.809 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/1.358, allocations: 37.7 kB / 1.379 GB, free: 8.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/1.358, allocations: 434 kB / 1.38 GB, free: 8.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/1.359, allocations: 158.6 kB / 1.38 GB, free: 8.184 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/1.359, allocations: 110 kB / 1.38 GB, free: 8.07 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.359, allocations: 326 kB / 1.38 GB, free: 7.746 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/1.359, allocations: 278.2 kB / 1.381 GB, free: 7.473 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/1.36, allocations: 489 kB / 1.381 GB, free: 6.918 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.361, allocations: 0.5794 MB / 1.382 GB, free: 6.336 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.361, allocations: 0 / 1.382 GB, free: 6.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001562/1.363, allocations: 0.7498 MB / 1.382 GB, free: 5.578 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/1.363, allocations: 8 kB / 1.382 GB, free: 5.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.363, allocations: 0 / 1.382 GB, free: 5.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.363, allocations: 0 / 1.382 GB, free: 5.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/1.364, allocations: 127.8 kB / 1.383 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.364, allocations: 4 kB / 1.383 GB, free: 5.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.365, allocations: 83.89 kB / 1.383 GB, free: 5.359 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/1.365, allocations: 31.91 kB / 1.383 GB, free: 5.328 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008371/1.366, allocations: 467.9 kB / 1.383 GB, free: 4.867 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007357/1.367, allocations: 482 kB / 1.384 GB, free: 4.316 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001165/1.368, allocations: 0.5927 MB / 1.384 GB, free: 3.723 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/1.368, allocations: 0 / 1.384 GB, free: 3.723 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001591/1.369, allocations: 0.7466 MB / 1.385 GB, free: 2.969 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.369, allocations: 4 kB / 1.385 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.369, allocations: 0 / 1.385 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/1.369, allocations: 4 kB / 1.385 GB, free: 2.961 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/1.37, allocations: 115.8 kB / 1.385 GB, free: 2.848 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.37, allocations: 7.984 kB / 1.385 GB, free: 2.84 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.371, allocations: 132.2 kB / 1.385 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/1.371, allocations: 19.98 kB / 1.385 GB, free: 2.691 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.000273/1.372, allocations: 212.1 kB / 1.385 GB, free: 2.477 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.372, allocations: 115.2 kB / 1.386 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.374, allocations: 0.7992 MB / 1.386 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.374, allocations: 4 kB / 1.386 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.374, allocations: 4 kB / 1.386 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.374, allocations: 3.984 kB / 1.386 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/1.377, allocations: 1.957 MB / 1.388 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.377, allocations: 4 kB / 1.388 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/1.377, allocations: 103.9 kB / 1.388 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.377, allocations: 4 kB / 1.388 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/1.377, allocations: 28.2 kB / 1.388 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.377, allocations: 11.88 kB / 1.388 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.377, allocations: 4 kB / 1.388 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/1.38, allocations: 1.229 MB / 1.39 GB, free: 14.08 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/1.38, allocations: 292.2 kB / 1.39 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.38, allocations: 19.98 kB / 1.39 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009021/1.381, allocations: 67.92 kB / 1.39 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.381, allocations: 39.91 kB / 1.39 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/1.381, allocations: 19.98 kB / 1.39 GB, free: 13.63 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001524/1.383, allocations: 0.9286 MB / 1.391 GB, free: 12.7 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.383, allocations: 0 / 1.391 GB, free: 12.7 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001283/1.384, allocations: 407.5 kB / 1.391 GB, free: 12.3 MB / 1.123 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.0006373/1.385, allocations: 229.9 kB / 1.391 GB, free: 12.07 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.387, allocations: 0.9319 MB / 1.392 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.387, allocations: 4 kB / 1.392 GB, free: 11.13 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006219/1.387, allocations: 335.6 kB / 1.393 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/1.389, allocations: 429.9 kB / 1.393 GB, free: 10.39 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/1.392, allocations: 1.7 MB / 1.395 GB, free: 8.629 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/1.393, allocations: 1.045 MB / 1.396 GB, free: 7.551 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009449/1.394, allocations: 291 kB / 1.396 GB, free: 7.262 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.394, allocations: 99.38 kB / 1.396 GB, free: 7.164 MB / 1.123 GB Notification: Performance of SimCode: time 1.473e-06/1.394, allocations: 0 / 1.396 GB, free: 7.164 MB / 1.123 GB Notification: Performance of Templates: time 0.0386/1.433, allocations: 21.41 MB / 1.417 GB, free: 2.012 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches