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.001227/0.001227, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001202/0.001202, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.395/1.395, 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 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 59.94 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3295, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9266/1.256, allocations: 189.7 MB / 1.212 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007985/1.264, allocations: 4.271 MB / 1.216 GB, free: 7.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/1.266, allocations: 29.5 kB / 1.216 GB, free: 7.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/1.267, allocations: 0.4966 MB / 1.217 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004218/1.271, allocations: 1.561 MB / 1.218 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/1.275, allocations: 1.357 MB / 1.22 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002886/1.278, allocations: 2.265 MB / 1.222 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/1.279, allocations: 1.084 MB / 1.223 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/1.281, allocations: 0.9559 MB / 1.224 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/1.282, allocations: 0.874 MB / 1.225 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/1.282, allocations: 140.6 kB / 1.225 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/1.285, allocations: 1.241 MB / 1.226 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/1.285, allocations: 426.7 kB / 1.226 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/1.286, allocations: 0.6414 MB / 1.227 GB, free: 360 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/1.289, allocations: 1.975 MB / 1.229 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.289, allocations: 0 / 1.229 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/1.289, allocations: 0 / 1.229 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.18e-05/1.289, allocations: 3.938 kB / 1.229 GB, free: 14.37 MB / 0.9356 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.004441/1.293, allocations: 1.722 MB / 1.231 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.293, allocations: 8.75 kB / 1.231 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/1.294, allocations: 190.4 kB / 1.231 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/1.296, allocations: 1.065 MB / 1.232 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/1.296, allocations: 41 kB / 1.232 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/1.297, allocations: 63.94 kB / 1.232 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.298, allocations: 0.6192 MB / 1.232 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.298, allocations: 0 / 1.232 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/1.298, allocations: 16 kB / 1.233 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/1.298, allocations: 21 kB / 1.233 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/1.299, allocations: 0.6246 MB / 1.233 GB, free: 9.887 MB / 0.9356 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.004689/1.304, allocations: 2.658 MB / 1.236 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.305, allocations: 0.5382 MB / 1.236 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/1.306, allocations: 357.3 kB / 1.237 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/1.306, allocations: 291.2 kB / 1.237 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.306, allocations: 42.5 kB / 1.237 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007063/1.307, allocations: 143.5 kB / 1.237 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.726e-06/1.307, allocations: 0 / 1.237 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43): time 0.002438/1.31, allocations: 1.019 MB / 1.238 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.31, allocations: 55.41 kB / 1.238 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.312, allocations: 1.275 MB / 1.239 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.728e-05/1.312, allocations: 37.7 kB / 1.239 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.312, allocations: 433.7 kB / 1.24 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.312, allocations: 149.8 kB / 1.24 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.312, allocations: 118 kB / 1.24 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.313, allocations: 318 kB / 1.24 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/1.313, allocations: 274.2 kB / 1.241 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/1.314, allocations: 493 kB / 1.241 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.315, allocations: 0.5794 MB / 1.242 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.315, allocations: 0 / 1.242 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001623/1.317, allocations: 0.7415 MB / 1.242 GB, free: 56 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.317, allocations: 4 kB / 1.242 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.317, allocations: 4 kB / 1.242 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.317, allocations: 3.984 kB / 1.242 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/1.318, allocations: 119.8 kB / 1.243 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.318, allocations: 3.938 kB / 1.243 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.319, allocations: 103.8 kB / 1.243 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/1.319, allocations: 23.97 kB / 1.243 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000919/1.32, allocations: 467.9 kB / 1.243 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007568/1.321, allocations: 483.8 kB / 1.244 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/1.322, allocations: 0.5923 MB / 1.244 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/1.322, allocations: 0 / 1.244 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001591/1.323, allocations: 0.7344 MB / 1.245 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.323, allocations: 7.938 kB / 1.245 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.323, allocations: 0.875 kB / 1.245 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/1.323, allocations: 7.984 kB / 1.245 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/1.324, allocations: 115.8 kB / 1.245 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.324, allocations: 4 kB / 1.245 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.326, allocations: 121.4 kB / 1.245 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/1.326, allocations: 23.97 kB / 1.245 GB, free: 13.17 MB / 0.9512 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.0002566/1.326, allocations: 216.1 kB / 1.245 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/1.326, allocations: 110.6 kB / 1.245 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/1.328, allocations: 0.8031 MB / 1.246 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.328, allocations: 4 kB / 1.246 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.328, allocations: 7.125 kB / 1.246 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.328, allocations: 3.984 kB / 1.246 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.331, allocations: 1.953 MB / 1.248 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.331, allocations: 4 kB / 1.248 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/1.332, allocations: 107.9 kB / 1.248 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/1.332, allocations: 4 kB / 1.248 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/1.332, allocations: 12 kB / 1.248 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/1.332, allocations: 12.22 kB / 1.248 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.332, allocations: 7.938 kB / 1.248 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/1.334, allocations: 1.228 MB / 1.249 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/1.335, allocations: 299.5 kB / 1.25 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.335, allocations: 12 kB / 1.25 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/1.336, allocations: 67.91 kB / 1.25 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.336, allocations: 39.95 kB / 1.25 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/1.336, allocations: 16 kB / 1.25 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001686/1.338, allocations: 0.9208 MB / 1.251 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/1.338, allocations: 7.938 kB / 1.251 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001642/1.339, allocations: 411.4 kB / 1.251 GB, free: 6.789 MB / 0.9512 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.0007441/1.34, allocations: 210 kB / 1.251 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.342, allocations: 0.9399 MB / 1.252 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.342, allocations: 4 kB / 1.252 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006454/1.343, allocations: 335.6 kB / 1.253 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.345, allocations: 441.7 kB / 1.253 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/1.348, allocations: 1.679 MB / 1.255 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/1.349, allocations: 1.045 MB / 1.256 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001059/1.35, allocations: 283.1 kB / 1.256 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/1.35, allocations: 95.38 kB / 1.256 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of SimCode: time 8.81e-07/1.35, allocations: 4 kB / 1.256 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of Templates: time 0.03626/1.386, allocations: 21.26 MB / 1.277 GB, free: 12.67 MB / 0.9825 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 -s cvode -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