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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001757/0.001757, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 66.7 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3773, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.002/1.38, allocations: 187.4 MB / 1.251 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008403/1.388, allocations: 4.312 MB / 1.255 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/1.39, allocations: 24.94 kB / 1.255 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/1.392, allocations: 423.8 kB / 1.255 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004632/1.397, allocations: 1.461 MB / 1.257 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/1.401, allocations: 1.236 MB / 1.258 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004305/1.405, allocations: 2.774 MB / 1.261 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/1.407, allocations: 0.9283 MB / 1.261 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/1.409, allocations: 0.8386 MB / 1.262 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/1.41, allocations: 0.8439 MB / 1.263 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/1.41, allocations: 65.38 kB / 1.263 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/1.413, allocations: 1.369 MB / 1.265 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005194/1.414, allocations: 352.2 kB / 1.265 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008301/1.415, allocations: 0.5712 MB / 1.265 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/1.418, allocations: 1.99 MB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.418, allocations: 2.531 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/1.418, allocations: 0 / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.922e-05/1.418, allocations: 4 kB / 1.267 GB, free: 5.223 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.005234/1.424, allocations: 1.724 MB / 1.269 GB, free: 20.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.424, allocations: 12.56 kB / 1.269 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.425, allocations: 186.7 kB / 1.269 GB, free: 20.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/1.427, allocations: 1.04 MB / 1.27 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/1.427, allocations: 51.69 kB / 1.27 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.427, allocations: 60.28 kB / 1.27 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/1.428, allocations: 0.6086 MB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.428, allocations: 0 / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/1.428, allocations: 25.94 kB / 1.271 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/1.428, allocations: 21.91 kB / 1.271 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/1.43, allocations: 0.6224 MB / 1.272 GB, free: 19.92 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.006001/1.436, allocations: 2.656 MB / 1.274 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.438, allocations: 0.5477 MB / 1.275 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/1.439, allocations: 349.5 kB / 1.275 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/1.439, allocations: 295.3 kB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/1.439, allocations: 37 kB / 1.275 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001023/1.44, allocations: 164.4 kB / 1.276 GB, free: 18.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/1.44, allocations: 0 / 1.276 GB, free: 18.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.003116/1.444, allocations: 1.017 MB / 1.277 GB, free: 18.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.444, allocations: 56.33 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/1.446, allocations: 1.275 MB / 1.278 GB, free: 18.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/1.446, allocations: 39.48 kB / 1.278 GB, free: 18.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/1.447, allocations: 431.3 kB / 1.278 GB, free: 18.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/1.447, allocations: 145.2 kB / 1.278 GB, free: 18.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.447, allocations: 118.3 kB / 1.279 GB, free: 18.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.447, allocations: 327.4 kB / 1.279 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/1.448, allocations: 269.9 kB / 1.279 GB, free: 17.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/1.449, allocations: 491.8 kB / 1.28 GB, free: 17.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.45, allocations: 0.5848 MB / 1.28 GB, free: 17.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.45, allocations: 2.891 kB / 1.28 GB, free: 17.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001644/1.452, allocations: 0.7407 MB / 1.281 GB, free: 17.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.452, allocations: 5.25 kB / 1.281 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.452, allocations: 0 / 1.281 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.452, allocations: 3.344 kB / 1.281 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/1.452, allocations: 127.9 kB / 1.281 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.452, allocations: 2.219 kB / 1.281 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.454, allocations: 110.4 kB / 1.281 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/1.454, allocations: 20.23 kB / 1.281 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008735/1.455, allocations: 473 kB / 1.282 GB, free: 17.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007395/1.455, allocations: 478.3 kB / 1.282 GB, free: 17.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001202/1.457, allocations: 0.5793 MB / 1.283 GB, free: 17.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.457, allocations: 2.109 kB / 1.283 GB, free: 17.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001609/1.458, allocations: 0.7282 MB / 1.283 GB, free: 17.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.458, allocations: 6.062 kB / 1.283 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/1.458, allocations: 4 kB / 1.283 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.223e-06/1.458, allocations: 5.812 kB / 1.283 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/1.459, allocations: 119.6 kB / 1.283 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.459, allocations: 2.344 kB / 1.283 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.461, allocations: 136.9 kB / 1.284 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/1.461, allocations: 26.08 kB / 1.284 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.0003478/1.461, allocations: 213.6 kB / 1.284 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/1.461, allocations: 99.84 kB / 1.284 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/1.463, allocations: 0.8053 MB / 1.285 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.463, allocations: 7.484 kB / 1.285 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.463, allocations: 1.438 kB / 1.285 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.463, allocations: 4.828 kB / 1.285 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/1.467, allocations: 1.958 MB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.467, allocations: 6.156 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/1.468, allocations: 109.1 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.468, allocations: 5.406 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/1.468, allocations: 17.56 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/1.468, allocations: 7.406 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.468, allocations: 6.031 kB / 1.287 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/1.47, allocations: 1.226 MB / 1.288 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/1.471, allocations: 293.5 kB / 1.288 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/1.471, allocations: 15.84 kB / 1.288 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.472, allocations: 77.72 kB / 1.288 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.472, allocations: 37.19 kB / 1.288 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.472, allocations: 24.52 kB / 1.288 GB, free: 15.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0017/1.474, allocations: 0.9244 MB / 1.289 GB, free: 15.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.474, allocations: 1.031 kB / 1.289 GB, free: 15.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001662/1.476, allocations: 400.8 kB / 1.29 GB, free: 15.74 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.0007243/1.476, allocations: 227.1 kB / 1.29 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002442/1.479, allocations: 0.9407 MB / 1.291 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.479, allocations: 1.219 kB / 1.291 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007291/1.48, allocations: 335.8 kB / 1.291 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.482, allocations: 457.2 kB / 1.292 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/1.487, allocations: 1.993 MB / 1.294 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.488, allocations: 1.051 MB / 1.295 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001966/1.49, allocations: 293.6 kB / 1.295 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.49, allocations: 92.98 kB / 1.295 GB, free: 13.75 MB / 1.014 GB Notification: Performance of SimCode: time 1.953e-06/1.49, allocations: 0 / 1.295 GB, free: 13.75 MB / 1.014 GB Notification: Performance of Templates: time 0.0401/1.53, allocations: 20.6 MB / 1.315 GB, free: 10.27 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