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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001372/0.001373, allocations: 113.8 kB / 16.42 MB, free: 6.516 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.001317/0.001317, allocations: 192.2 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.593/2.593, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 60.14 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9459/0.9473, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2415/1.189, allocations: 189.7 MB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008201/1.197, allocations: 4.287 MB / 1.398 GB, free: 10.99 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/1.199, allocations: 31.81 kB / 1.398 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/1.2, allocations: 0.4889 MB / 1.398 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/1.205, allocations: 1.559 MB / 1.4 GB, free: 8.902 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004609/1.21, allocations: 1.347 MB / 1.401 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003972/1.214, allocations: 2.272 MB / 1.403 GB, free: 5.289 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/1.216, allocations: 1.084 MB / 1.404 GB, free: 4.191 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/1.218, allocations: 0.9537 MB / 1.405 GB, free: 3.234 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/1.22, allocations: 0.8717 MB / 1.406 GB, free: 2.359 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005741/1.221, allocations: 140 kB / 1.406 GB, free: 2.223 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/1.224, allocations: 1.239 MB / 1.407 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.225, allocations: 430.7 kB / 1.408 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/1.227, allocations: 0.6416 MB / 1.408 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003355/1.23, allocations: 1.972 MB / 1.41 GB, free: 13.94 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.23, allocations: 0 / 1.41 GB, free: 13.94 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.094e-06/1.23, allocations: 0 / 1.41 GB, free: 13.94 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.072e-05/1.23, allocations: 0 / 1.41 GB, free: 13.94 MB / 1.139 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.00424/1.234, allocations: 1.724 MB / 1.412 GB, free: 12.16 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.235, allocations: 8.031 kB / 1.412 GB, free: 12.15 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008772/1.235, allocations: 182.4 kB / 1.412 GB, free: 11.97 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/1.237, allocations: 1.069 MB / 1.413 GB, free: 10.85 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/1.237, allocations: 48.94 kB / 1.413 GB, free: 10.8 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.238, allocations: 59.94 kB / 1.413 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.239, allocations: 0.6193 MB / 1.414 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/1.239, allocations: 0 / 1.414 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/1.239, allocations: 16 kB / 1.414 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/1.239, allocations: 17 kB / 1.414 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.24, allocations: 0.6284 MB / 1.415 GB, free: 9.453 MB / 1.139 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.004165/1.244, allocations: 2.654 MB / 1.417 GB, free: 6.66 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.246, allocations: 0.5489 MB / 1.418 GB, free: 6.102 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/1.246, allocations: 353.3 kB / 1.418 GB, free: 5.754 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/1.247, allocations: 295.2 kB / 1.418 GB, free: 5.41 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.247, allocations: 38.56 kB / 1.418 GB, free: 5.363 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005891/1.247, allocations: 139.5 kB / 1.419 GB, free: 5.227 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 1.804e-06/1.247, allocations: 0 / 1.419 GB, free: 5.227 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.002255/1.25, allocations: 1.023 MB / 1.42 GB, free: 4.195 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.25, allocations: 55.41 kB / 1.42 GB, free: 4.129 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.252, allocations: 1.271 MB / 1.421 GB, free: 2.84 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/1.252, allocations: 41.7 kB / 1.421 GB, free: 2.793 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/1.252, allocations: 429.7 kB / 1.421 GB, free: 2.367 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.252, allocations: 149.8 kB / 1.421 GB, free: 2.219 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/1.252, allocations: 122 kB / 1.422 GB, free: 2.094 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002728/1.253, allocations: 318 kB / 1.422 GB, free: 1.777 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/1.253, allocations: 282.1 kB / 1.422 GB, free: 1.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/1.254, allocations: 487.1 kB / 1.423 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.255, allocations: 0.583 MB / 1.423 GB, free: 372 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.255, allocations: 4 kB / 1.423 GB, free: 368 kB / 1.139 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001458/1.257, allocations: 0.7455 MB / 1.424 GB, free: 15.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.257, allocations: 5.719 kB / 1.424 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.257, allocations: 0 / 1.424 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.257, allocations: 3.984 kB / 1.424 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/1.257, allocations: 123.8 kB / 1.424 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.257, allocations: 8 kB / 1.424 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.259, allocations: 91.86 kB / 1.424 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/1.259, allocations: 23.97 kB / 1.424 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000794/1.259, allocations: 467.9 kB / 1.425 GB, free: 14.89 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008763/1.26, allocations: 481.8 kB / 1.425 GB, free: 14.34 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001206/1.262, allocations: 0.5804 MB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.262, allocations: 3.938 kB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001483/1.263, allocations: 0.7305 MB / 1.426 GB, free: 13.01 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.263, allocations: 7.938 kB / 1.426 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/1.263, allocations: 4 kB / 1.426 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-06/1.263, allocations: 0 / 1.426 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/1.264, allocations: 127.8 kB / 1.426 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.264, allocations: 0 / 1.426 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.265, allocations: 124.2 kB / 1.427 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/1.265, allocations: 23.97 kB / 1.427 GB, free: 12.73 MB / 1.154 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.0002057/1.265, allocations: 212.1 kB / 1.427 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/1.265, allocations: 102.7 kB / 1.427 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/1.267, allocations: 0.8031 MB / 1.428 GB, free: 11.6 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.267, allocations: 0 / 1.428 GB, free: 11.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.267, allocations: 4 kB / 1.428 GB, free: 11.6 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/1.267, allocations: 283.7 kB / 1.428 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.268, allocations: 8 kB / 1.428 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008937/1.269, allocations: 59.92 kB / 1.428 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.269, allocations: 36.38 kB / 1.428 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001599/1.27, allocations: 0.7688 MB / 1.429 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002107/1.272, allocations: 1.259 MB / 1.43 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005481/1.273, allocations: 315.4 kB / 1.43 GB, free: 8.836 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001408/1.274, allocations: 0.9247 MB / 1.431 GB, free: 7.902 MB / 1.154 GB Notification: Performance of Backend: time 4.11e-07/1.274, allocations: 0 / 1.431 GB, free: 7.902 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00271/1.277, allocations: 1.004 MB / 1.432 GB, free: 6.906 MB / 1.154 GB Notification: Performance of SimCode: time 0.003983/1.281, allocations: 2.202 MB / 1.434 GB, free: 4.648 MB / 1.154 GB Notification: Performance of Templates: time 0.04629/1.327, allocations: 24.88 MB / 1.459 GB, free: 12.02 MB / 1.186 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/jenkins1/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