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.001441/0.00144, allocations: 110.2 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.001188/0.001188, allocations: 190.7 kB / 17.34 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.493/1.493, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.967, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2245/1.192, allocations: 189.7 MB / 1.412 GB, free: 15.15 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01077/1.202, allocations: 4.288 MB / 1.416 GB, free: 10.86 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/1.205, allocations: 23.88 kB / 1.416 GB, free: 10.83 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/1.207, allocations: 0.5239 MB / 1.416 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005415/1.212, allocations: 1.629 MB / 1.418 GB, free: 8.672 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/1.217, allocations: 1.353 MB / 1.419 GB, free: 7.328 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003813/1.22, allocations: 2.276 MB / 1.421 GB, free: 5.047 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/1.222, allocations: 1.081 MB / 1.422 GB, free: 3.953 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/1.225, allocations: 0.977 MB / 1.423 GB, free: 2.973 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/1.226, allocations: 0.8717 MB / 1.424 GB, free: 2.098 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005039/1.227, allocations: 140 kB / 1.424 GB, free: 1.961 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/1.23, allocations: 1.247 MB / 1.426 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007312/1.231, allocations: 422.7 kB / 1.426 GB, free: 304 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/1.232, allocations: 0.6455 MB / 1.427 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00385/1.236, allocations: 1.978 MB / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.236, allocations: 0 / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.643e-06/1.236, allocations: 0 / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.107e-05/1.236, allocations: 0 / 1.429 GB, free: 13.66 MB / 1.154 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.005652/1.242, allocations: 1.773 MB / 1.43 GB, free: 11.83 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.242, allocations: 8.031 kB / 1.43 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/1.243, allocations: 191.1 kB / 1.431 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/1.245, allocations: 1.077 MB / 1.432 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/1.245, allocations: 45 kB / 1.432 GB, free: 10.46 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.245, allocations: 59.94 kB / 1.432 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/1.247, allocations: 0.6076 MB / 1.432 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.247, allocations: 0 / 1.432 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/1.247, allocations: 20 kB / 1.432 GB, free: 9.77 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/1.247, allocations: 21 kB / 1.432 GB, free: 9.75 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/1.248, allocations: 0.6284 MB / 1.433 GB, free: 9.121 MB / 1.154 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.004712/1.253, allocations: 2.666 MB / 1.436 GB, free: 6.316 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.254, allocations: 0.5335 MB / 1.436 GB, free: 5.773 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/1.255, allocations: 350.7 kB / 1.436 GB, free: 5.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/1.255, allocations: 303.1 kB / 1.437 GB, free: 5.078 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.255, allocations: 34.56 kB / 1.437 GB, free: 5.035 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007887/1.256, allocations: 147.6 kB / 1.437 GB, free: 4.891 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 5.11e-06/1.256, allocations: 0 / 1.437 GB, free: 4.891 MB / 1.154 GB Notification: Performance of matching and sorting (n=43): time 0.002781/1.259, allocations: 1.013 MB / 1.438 GB, free: 3.871 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/1.259, allocations: 55.41 kB / 1.438 GB, free: 3.805 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/1.261, allocations: 1.279 MB / 1.439 GB, free: 2.508 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/1.261, allocations: 33.7 kB / 1.439 GB, free: 2.469 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/1.262, allocations: 438 kB / 1.44 GB, free: 2.039 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.262, allocations: 158.6 kB / 1.44 GB, free: 1.883 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.262, allocations: 118 kB / 1.44 GB, free: 1.762 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.262, allocations: 322 kB / 1.44 GB, free: 1.441 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/1.263, allocations: 282.1 kB / 1.44 GB, free: 1.164 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/1.264, allocations: 485.3 kB / 1.441 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.265, allocations: 0.5908 MB / 1.441 GB, free: 20 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.265, allocations: 7.938 kB / 1.441 GB, free: 12 kB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001953/1.267, allocations: 0.7498 MB / 1.442 GB, free: 15.25 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.267, allocations: 4 kB / 1.442 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.267, allocations: 0 / 1.442 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/1.267, allocations: 4 kB / 1.442 GB, free: 15.24 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/1.268, allocations: 119.8 kB / 1.442 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/1.268, allocations: 4 kB / 1.442 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.27, allocations: 95.8 kB / 1.442 GB, free: 15.03 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/1.27, allocations: 23.97 kB / 1.442 GB, free: 15 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001/1.271, allocations: 473.2 kB / 1.443 GB, free: 14.54 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007903/1.271, allocations: 477.8 kB / 1.443 GB, free: 13.99 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001206/1.273, allocations: 0.5827 MB / 1.444 GB, free: 13.41 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/1.273, allocations: 0 / 1.444 GB, free: 13.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001761/1.274, allocations: 0.7388 MB / 1.445 GB, free: 12.66 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.274, allocations: 11.94 kB / 1.445 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.274, allocations: 0 / 1.445 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/1.274, allocations: 4 kB / 1.445 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/1.275, allocations: 111.8 kB / 1.445 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.275, allocations: 8 kB / 1.445 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.277, allocations: 120.3 kB / 1.445 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/1.277, allocations: 27.97 kB / 1.445 GB, free: 12.38 MB / 1.17 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.0003019/1.277, allocations: 204.1 kB / 1.445 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/1.278, allocations: 115.2 kB / 1.445 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/1.279, allocations: 0.8071 MB / 1.446 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.279, allocations: 3.984 kB / 1.446 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.279, allocations: 0 / 1.446 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/1.28, allocations: 284.2 kB / 1.446 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/1.28, allocations: 12 kB / 1.446 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.281, allocations: 63.91 kB / 1.446 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.282, allocations: 36.39 kB / 1.446 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001707/1.283, allocations: 0.7648 MB / 1.447 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002187/1.285, allocations: 1.264 MB / 1.448 GB, free: 8.785 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005747/1.286, allocations: 319.3 kB / 1.449 GB, free: 8.473 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001661/1.288, allocations: 0.9169 MB / 1.45 GB, free: 7.547 MB / 1.17 GB Notification: Performance of Backend: time 5.01e-07/1.288, allocations: 0 / 1.45 GB, free: 7.547 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003367/1.291, allocations: 1.013 MB / 1.451 GB, free: 6.535 MB / 1.17 GB Notification: Performance of SimCode: time 0.004502/1.296, allocations: 2.226 MB / 1.453 GB, free: 4.254 MB / 1.17 GB Notification: Performance of Templates: time 0.04691/1.343, allocations: 25.03 MB / 1.477 GB, free: 11.45 MB / 1.201 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