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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001516/0.001516, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.001698/0.001698, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 69.36 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8881/1.234, allocations: 189.7 MB / 1.204 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008648/1.243, allocations: 4.274 MB / 1.208 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/1.245, allocations: 28.91 kB / 1.208 GB, free: 2 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.247, allocations: 0.5016 MB / 1.209 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/1.251, allocations: 1.572 MB / 1.21 GB, free: 340 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/1.255, allocations: 1.345 MB / 1.212 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00355/1.259, allocations: 2.263 MB / 1.214 GB, free: 14.03 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.26, allocations: 1.082 MB / 1.215 GB, free: 13.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/1.262, allocations: 0.9546 MB / 1.216 GB, free: 12.74 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/1.263, allocations: 0.87 MB / 1.217 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/1.263, allocations: 143.3 kB / 1.217 GB, free: 12.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/1.266, allocations: 1.24 MB / 1.218 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/1.267, allocations: 423.9 kB / 1.218 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007435/1.268, allocations: 0.6494 MB / 1.219 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/1.27, allocations: 1.966 MB / 1.221 GB, free: 9.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.27, allocations: 0 / 1.221 GB, free: 9.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/1.27, allocations: 6.906 kB / 1.221 GB, free: 9.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.368e-05/1.27, allocations: 0 / 1.221 GB, free: 9.344 MB / 0.92 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.004332/1.275, allocations: 1.722 MB / 1.223 GB, free: 8.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.275, allocations: 10.25 kB / 1.223 GB, free: 8.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/1.275, allocations: 182.6 kB / 1.223 GB, free: 7.922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/1.277, allocations: 1.076 MB / 1.224 GB, free: 6.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/1.278, allocations: 41 kB / 1.224 GB, free: 6.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.278, allocations: 59.94 kB / 1.224 GB, free: 6.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/1.279, allocations: 0.6153 MB / 1.225 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.279, allocations: 4 kB / 1.225 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/1.279, allocations: 20 kB / 1.225 GB, free: 6.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/1.279, allocations: 17.56 kB / 1.225 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.28, allocations: 0.6246 MB / 1.225 GB, free: 5.402 MB / 0.92 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.004319/1.285, allocations: 2.658 MB / 1.228 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/1.286, allocations: 0.5451 MB / 1.228 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/1.286, allocations: 356.6 kB / 1.229 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/1.287, allocations: 288 kB / 1.229 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/1.287, allocations: 38.5 kB / 1.229 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006873/1.288, allocations: 143.5 kB / 1.229 GB, free: 1.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 3.125e-06/1.288, allocations: 0 / 1.229 GB, free: 1.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002361/1.29, allocations: 1.019 MB / 1.23 GB, free: 152 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.29, allocations: 59.36 kB / 1.23 GB, free: 80 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/1.292, allocations: 1.279 MB / 1.231 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/1.292, allocations: 37.7 kB / 1.231 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/1.293, allocations: 429.7 kB / 1.232 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.293, allocations: 141.9 kB / 1.232 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/1.293, allocations: 125.9 kB / 1.232 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.293, allocations: 322 kB / 1.232 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/1.294, allocations: 270.2 kB / 1.233 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/1.295, allocations: 494.2 kB / 1.233 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.296, allocations: 0.5869 MB / 1.234 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.296, allocations: 0 / 1.234 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001535/1.297, allocations: 0.7415 MB / 1.234 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.297, allocations: 6.344 kB / 1.234 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.297, allocations: 0 / 1.234 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.297, allocations: 8 kB / 1.234 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/1.298, allocations: 119.8 kB / 1.235 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.298, allocations: 0 / 1.235 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.299, allocations: 91.88 kB / 1.235 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/1.299, allocations: 27.95 kB / 1.235 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008376/1.3, allocations: 471.8 kB / 1.235 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007652/1.301, allocations: 478.5 kB / 1.236 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/1.302, allocations: 0.5846 MB / 1.236 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/1.302, allocations: 0 / 1.236 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00149/1.304, allocations: 0.7344 MB / 1.237 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.304, allocations: 11.94 kB / 1.237 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-06/1.304, allocations: 0 / 1.237 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/1.304, allocations: 4 kB / 1.237 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/1.304, allocations: 123.8 kB / 1.237 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.304, allocations: 4 kB / 1.237 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.306, allocations: 116.3 kB / 1.237 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/1.306, allocations: 27.97 kB / 1.237 GB, free: 8.691 MB / 0.9356 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.0002405/1.306, allocations: 208.2 kB / 1.237 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/1.306, allocations: 110.6 kB / 1.237 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/1.308, allocations: 0.8109 MB / 1.238 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.308, allocations: 8 kB / 1.238 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.308, allocations: 0 / 1.238 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/1.308, allocations: 3.984 kB / 1.238 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/1.312, allocations: 1.957 MB / 1.24 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.312, allocations: 8.281 kB / 1.24 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/1.312, allocations: 107.9 kB / 1.24 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/1.312, allocations: 4 kB / 1.24 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/1.312, allocations: 12 kB / 1.24 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/1.313, allocations: 14.23 kB / 1.24 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.313, allocations: 7.938 kB / 1.24 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/1.315, allocations: 1.225 MB / 1.242 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/1.315, allocations: 291.6 kB / 1.242 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.316, allocations: 12 kB / 1.242 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.317, allocations: 71.91 kB / 1.242 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.317, allocations: 35.95 kB / 1.242 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/1.317, allocations: 23.98 kB / 1.242 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001634/1.319, allocations: 0.9208 MB / 1.243 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.319, allocations: 0 / 1.243 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001494/1.32, allocations: 403.4 kB / 1.243 GB, free: 2.32 MB / 0.9356 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.0006426/1.321, allocations: 218.1 kB / 1.243 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002184/1.323, allocations: 0.9408 MB / 1.244 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.323, allocations: 0 / 1.244 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/1.324, allocations: 344.1 kB / 1.245 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.326, allocations: 434 kB / 1.245 GB, free: 420 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.329, allocations: 1.663 MB / 1.247 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008539/1.33, allocations: 1.049 MB / 1.248 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001174/1.331, allocations: 295 kB / 1.248 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/1.331, allocations: 95.33 kB / 1.248 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of SimCode: time 1.132e-06/1.331, allocations: 4 kB / 1.248 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of Templates: time 0.03977/1.371, allocations: 21.27 MB / 1.269 GB, free: 8.199 MB / 0.9669 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 -s gbode -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