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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001264/0.001264, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009889/0.009889, allocations: 170 kB / 16.26 MB, free: 6.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.613/1.613, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 10.48 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3384, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1968/0.5353, allocations: 185 MB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00759/0.5429, allocations: 4.286 MB / 1.243 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.5443, allocations: 27.75 kB / 1.243 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.5457, allocations: 413.6 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.5494, allocations: 1.467 MB / 1.245 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.5526, allocations: 1.234 MB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003408/0.556, allocations: 2.775 MB / 1.249 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.5574, allocations: 0.9091 MB / 1.25 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6745/1.232, allocations: 0.8075 MB / 1.251 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/1.234, allocations: 0.8139 MB / 1.252 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003618/1.234, allocations: 62.34 kB / 1.252 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.237, allocations: 1.366 MB / 1.253 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/1.238, allocations: 337.6 kB / 1.253 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008521/1.239, allocations: 0.5755 MB / 1.254 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/1.242, allocations: 1.955 MB / 1.256 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/1.242, allocations: 1.469 kB / 1.256 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.542e-06/1.242, allocations: 0 / 1.256 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.706e-05/1.242, allocations: 0 / 1.256 GB, free: 4.805 MB / 0.9981 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.004516/1.246, allocations: 1.503 MB / 1.257 GB, free: 20.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.246, allocations: 8.656 kB / 1.257 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/1.247, allocations: 182.8 kB / 1.258 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/1.25, allocations: 1.035 MB / 1.259 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/1.25, allocations: 59.92 kB / 1.259 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.25, allocations: 55.56 kB / 1.259 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/1.251, allocations: 0.6291 MB / 1.259 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/1.251, allocations: 0 / 1.259 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/1.251, allocations: 20.5 kB / 1.259 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/1.251, allocations: 19.53 kB / 1.259 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/1.253, allocations: 0.6474 MB / 1.26 GB, free: 19.61 MB / 1.014 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.004487/1.257, allocations: 2.681 MB / 1.263 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.258, allocations: 0.5501 MB / 1.263 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/1.259, allocations: 364.2 kB / 1.263 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003933/1.259, allocations: 292 kB / 1.264 GB, free: 18.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.26, allocations: 37.95 kB / 1.264 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007962/1.26, allocations: 163.5 kB / 1.264 GB, free: 18.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/1.26, allocations: 0 / 1.264 GB, free: 18.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002388/1.263, allocations: 1.057 MB / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/1.263, allocations: 58.75 kB / 1.265 GB, free: 18.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/1.265, allocations: 1.271 MB / 1.266 GB, free: 18.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.452e-05/1.265, allocations: 39.17 kB / 1.266 GB, free: 18.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/1.265, allocations: 437.6 kB / 1.267 GB, free: 17.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.265, allocations: 147.4 kB / 1.267 GB, free: 17.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/1.266, allocations: 41.2 kB / 1.267 GB, free: 17.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.266, allocations: 318.5 kB / 1.267 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/1.266, allocations: 277.6 kB / 1.267 GB, free: 17.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/1.267, allocations: 494.2 kB / 1.268 GB, free: 17.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.269, allocations: 0.6178 MB / 1.269 GB, free: 17.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.269, allocations: 0.5938 kB / 1.269 GB, free: 17.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001767/1.27, allocations: 0.7704 MB / 1.269 GB, free: 17.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/1.27, allocations: 99.78 kB / 1.269 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.27, allocations: 0 / 1.269 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.271, allocations: 3.219 kB / 1.269 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/1.271, allocations: 128.7 kB / 1.27 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.271, allocations: 1.875 kB / 1.27 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.273, allocations: 120.7 kB / 1.27 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/1.273, allocations: 25 kB / 1.27 GB, free: 17.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/1.273, allocations: 3.594 kB / 1.27 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001379/1.274, allocations: 0.6298 MB / 1.27 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/1.274, allocations: 0 / 1.27 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/1.274, allocations: 3.969 kB / 1.27 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/1.275, allocations: 127.2 kB / 1.27 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.275, allocations: 1.906 kB / 1.27 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.276, allocations: 135.2 kB / 1.271 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/1.276, allocations: 23.3 kB / 1.271 GB, free: 17.05 MB / 1.014 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.0005586/1.277, allocations: 323.6 kB / 1.271 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.277, allocations: 107.2 kB / 1.271 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/1.279, allocations: 0.833 MB / 1.272 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.279, allocations: 5.719 kB / 1.272 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.279, allocations: 4.531 kB / 1.272 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.279, allocations: 3.281 kB / 1.272 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/1.283, allocations: 1.972 MB / 1.274 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.283, allocations: 3.781 kB / 1.274 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/1.284, allocations: 116.6 kB / 1.274 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.284, allocations: 4.75 kB / 1.274 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/1.284, allocations: 14.67 kB / 1.274 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/1.284, allocations: 9.156 kB / 1.274 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.284, allocations: 7.438 kB / 1.274 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/1.286, allocations: 1.275 MB / 1.275 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005783/1.287, allocations: 285.2 kB / 1.275 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.287, allocations: 19.19 kB / 1.275 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.288, allocations: 87.44 kB / 1.275 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.288, allocations: 39.58 kB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/1.288, allocations: 18.78 kB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001638/1.29, allocations: 0.928 MB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.273e-06/1.29, allocations: 0 / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001373/1.291, allocations: 406.9 kB / 1.277 GB, free: 15.73 MB / 1.014 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.000577/1.292, allocations: 218.2 kB / 1.277 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002176/1.294, allocations: 0.976 MB / 1.278 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.294, allocations: 0 / 1.278 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/1.295, allocations: 354.3 kB / 1.278 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.298, allocations: 464.6 kB / 1.279 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/1.301, allocations: 2.035 MB / 1.281 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/1.302, allocations: 1.045 MB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00149/1.303, allocations: 285.6 kB / 1.282 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/1.303, allocations: 97.31 kB / 1.282 GB, free: 13.75 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/1.303, allocations: 0 / 1.282 GB, free: 13.75 MB / 1.014 GB Notification: Performance of Templates: time 0.03543/1.339, allocations: 20.36 MB / 1.302 GB, free: 12.46 MB / 1.014 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/jenkins/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