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.001248/0.001248, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.001116/0.001116, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.403/1.403, allocations: 222.9 MB / 241 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.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2314/1.296, allocations: 189.7 MB / 1.353 GB, free: 5.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008416/1.305, allocations: 4.277 MB / 1.357 GB, free: 1.184 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/1.306, allocations: 27.81 kB / 1.357 GB, free: 1.156 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/1.308, allocations: 0.5162 MB / 1.357 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004923/1.313, allocations: 1.631 MB / 1.359 GB, free: 15 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/1.317, allocations: 1.354 MB / 1.36 GB, free: 13.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003614/1.321, allocations: 2.276 MB / 1.362 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/1.323, allocations: 1.077 MB / 1.363 GB, free: 10.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/1.325, allocations: 0.9732 MB / 1.364 GB, free: 9.309 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/1.327, allocations: 0.8678 MB / 1.365 GB, free: 8.438 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/1.328, allocations: 140 kB / 1.365 GB, free: 8.301 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/1.331, allocations: 1.255 MB / 1.367 GB, free: 7.043 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000729/1.331, allocations: 418.8 kB / 1.367 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/1.333, allocations: 0.6453 MB / 1.368 GB, free: 5.984 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/1.336, allocations: 1.98 MB / 1.37 GB, free: 4 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.336, allocations: 0 / 1.37 GB, free: 4 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.733e-06/1.336, allocations: 4 kB / 1.37 GB, free: 3.996 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.129e-05/1.336, allocations: 0 / 1.37 GB, free: 3.996 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.005459/1.342, allocations: 1.72 MB / 1.371 GB, free: 2.219 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.342, allocations: 8.031 kB / 1.371 GB, free: 2.211 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.343, allocations: 190.4 kB / 1.371 GB, free: 2.023 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/1.345, allocations: 1.072 MB / 1.372 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/1.345, allocations: 45 kB / 1.373 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.346, allocations: 59.94 kB / 1.373 GB, free: 0.793 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/1.347, allocations: 0.6115 MB / 1.373 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.347, allocations: 4 kB / 1.373 GB, free: 176 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/1.347, allocations: 20 kB / 1.373 GB, free: 156 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/1.347, allocations: 17 kB / 1.373 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.348, allocations: 0.6207 MB / 1.374 GB, free: 15.52 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.004686/1.353, allocations: 2.65 MB / 1.376 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/1.354, allocations: 0.5533 MB / 1.377 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/1.355, allocations: 348.6 kB / 1.377 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/1.355, allocations: 295.2 kB / 1.378 GB, free: 11.48 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.355, allocations: 34.56 kB / 1.378 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007149/1.356, allocations: 139.5 kB / 1.378 GB, free: 11.3 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 6.813e-06/1.356, allocations: 0 / 1.378 GB, free: 11.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002372/1.359, allocations: 1.028 MB / 1.379 GB, free: 10.26 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/1.359, allocations: 55.41 kB / 1.379 GB, free: 10.2 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.361, allocations: 1.267 MB / 1.38 GB, free: 8.91 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/1.361, allocations: 41.7 kB / 1.38 GB, free: 8.863 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/1.361, allocations: 433.7 kB / 1.38 GB, free: 8.438 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/1.361, allocations: 149.8 kB / 1.381 GB, free: 8.289 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/1.362, allocations: 122 kB / 1.381 GB, free: 8.164 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.362, allocations: 322 kB / 1.381 GB, free: 7.844 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/1.362, allocations: 266.2 kB / 1.381 GB, free: 7.582 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/1.363, allocations: 497 kB / 1.382 GB, free: 7.02 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.364, allocations: 0.5794 MB / 1.382 GB, free: 6.438 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.364, allocations: 0 / 1.382 GB, free: 6.438 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001508/1.366, allocations: 0.7453 MB / 1.383 GB, free: 5.684 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.366, allocations: 6.5 kB / 1.383 GB, free: 5.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.366, allocations: 3.938 kB / 1.383 GB, free: 5.676 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.366, allocations: 8 kB / 1.383 GB, free: 5.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/1.366, allocations: 119.8 kB / 1.383 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.366, allocations: 7.938 kB / 1.383 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.368, allocations: 99.8 kB / 1.383 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/1.368, allocations: 23.97 kB / 1.383 GB, free: 5.422 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007933/1.369, allocations: 470.1 kB / 1.384 GB, free: 4.961 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007174/1.369, allocations: 485.9 kB / 1.384 GB, free: 4.406 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001097/1.37, allocations: 0.5865 MB / 1.385 GB, free: 3.816 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/1.37, allocations: 0 / 1.385 GB, free: 3.816 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001513/1.372, allocations: 0.734 MB / 1.386 GB, free: 3.078 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.372, allocations: 7.938 kB / 1.386 GB, free: 3.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/1.372, allocations: 4 kB / 1.386 GB, free: 3.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/1.372, allocations: 4 kB / 1.386 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/1.373, allocations: 123.8 kB / 1.386 GB, free: 2.941 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.373, allocations: 3.984 kB / 1.386 GB, free: 2.938 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.374, allocations: 124.3 kB / 1.386 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/1.374, allocations: 27.97 kB / 1.386 GB, free: 2.789 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.0002848/1.374, allocations: 200.2 kB / 1.386 GB, free: 2.586 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.375, allocations: 102.7 kB / 1.386 GB, free: 2.484 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/1.376, allocations: 0.807 MB / 1.387 GB, free: 1.672 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.376, allocations: 8 kB / 1.387 GB, free: 1.664 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.376, allocations: 0 / 1.387 GB, free: 1.664 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/1.377, allocations: 279.7 kB / 1.387 GB, free: 1.371 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.377, allocations: 12 kB / 1.387 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/1.378, allocations: 55.92 kB / 1.387 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.378, allocations: 40.38 kB / 1.387 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001664/1.38, allocations: 0.7571 MB / 1.388 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002117/1.382, allocations: 1.271 MB / 1.389 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005517/1.382, allocations: 307.3 kB / 1.39 GB, free: 14.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001493/1.384, allocations: 0.9209 MB / 1.39 GB, free: 13.98 MB / 1.123 GB Notification: Performance of Backend: time 6.21e-07/1.384, allocations: 4 kB / 1.39 GB, free: 13.98 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002897/1.387, allocations: 0.9983 MB / 1.391 GB, free: 12.98 MB / 1.123 GB Notification: Performance of SimCode: time 0.003677/1.391, allocations: 2.201 MB / 1.394 GB, free: 10.73 MB / 1.123 GB Notification: Performance of Templates: time 0.04302/1.434, allocations: 25.03 MB / 1.418 GB, free: 1.945 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/jenkins1/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