Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008764, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008514/0.0008514, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.9 MB / 0.666 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 11.98 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9417/0.942, allocations: 142.4 MB / 0.9544 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2396/1.182, allocations: 180.5 MB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009902/1.192, allocations: 4.915 MB / 1.136 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/1.193, allocations: 31.75 kB / 1.136 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/1.195, allocations: 393.2 kB / 1.136 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004501/1.199, allocations: 1.368 MB / 1.137 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/1.204, allocations: 1.23 MB / 1.138 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004482/1.208, allocations: 3.026 MB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/1.21, allocations: 1.118 MB / 1.143 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/1.212, allocations: 1.047 MB / 1.144 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/1.214, allocations: 1.023 MB / 1.145 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.214, allocations: 80 kB / 1.145 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/1.216, allocations: 0.8653 MB / 1.145 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005258/1.217, allocations: 430.4 kB / 1.146 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004524/1.217, allocations: 281 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/1.22, allocations: 1.874 MB / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.22, allocations: 0 / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/1.22, allocations: 0 / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.261e-05/1.22, allocations: 0 / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004811/1.225, allocations: 1.85 MB / 1.15 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.225, allocations: 8.031 kB / 1.15 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.226, allocations: 230 kB / 1.15 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/1.228, allocations: 1.249 MB / 1.151 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/1.228, allocations: 69.62 kB / 1.151 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.228, allocations: 76 kB / 1.151 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/1.23, allocations: 0.8183 MB / 1.152 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.23, allocations: 0 / 1.152 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/1.23, allocations: 24 kB / 1.152 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/1.23, allocations: 25.31 kB / 1.152 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/1.232, allocations: 0.8562 MB / 1.153 GB, free: 3.465 MB / 0.9044 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.005583/1.237, allocations: 3.478 MB / 1.156 GB, free: 15.83 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/1.239, allocations: 0.7471 MB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007658/1.239, allocations: 459.1 kB / 1.158 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/1.24, allocations: 291.7 kB / 1.158 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/1.24, allocations: 42.98 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001142/1.241, allocations: 231.4 kB / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 3.647e-06/1.241, allocations: 0 / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.002905/1.244, allocations: 1.337 MB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.244, allocations: 59.84 kB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/1.247, allocations: 1.613 MB / 1.161 GB, free: 10.95 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/1.247, allocations: 49.64 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/1.247, allocations: 0.5384 MB / 1.162 GB, free: 10.35 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.248, allocations: 185.3 kB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/1.248, allocations: 8 kB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.248, allocations: 325.9 kB / 1.162 GB, free: 9.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/1.248, allocations: 360.9 kB / 1.162 GB, free: 9.477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009444/1.249, allocations: 0.6241 MB / 1.163 GB, free: 8.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/1.25, allocations: 417.9 kB / 1.164 GB, free: 8.348 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.25, allocations: 0 / 1.164 GB, free: 8.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001982/1.252, allocations: 0.9737 MB / 1.164 GB, free: 7.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/1.252, allocations: 93.2 kB / 1.165 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.252, allocations: 4 kB / 1.165 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.252, allocations: 4 kB / 1.165 GB, free: 7.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/1.253, allocations: 167.8 kB / 1.165 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.253, allocations: 4 kB / 1.165 GB, free: 7.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.255, allocations: 155.5 kB / 1.165 GB, free: 6.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/1.255, allocations: 35.95 kB / 1.165 GB, free: 6.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/1.255, allocations: 2.344 kB / 1.165 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00159/1.257, allocations: 0.829 MB / 1.166 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/1.257, allocations: 3.938 kB / 1.166 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/1.257, allocations: 4 kB / 1.166 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007492/1.257, allocations: 175.8 kB / 1.166 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.257, allocations: 3.984 kB / 1.166 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/1.259, allocations: 162.2 kB / 1.166 GB, free: 5.738 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/1.259, allocations: 27.97 kB / 1.166 GB, free: 5.711 MB / 0.92 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 (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006607/1.26, allocations: 376.6 kB / 1.166 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/1.26, allocations: 130.4 kB / 1.167 GB, free: 5.203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/1.262, allocations: 1.047 MB / 1.168 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.262, allocations: 8 kB / 1.168 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.262, allocations: 0 / 1.168 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.262, allocations: 3.984 kB / 1.168 GB, free: 4.137 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 postOpt removeSimpleEquations (simulation): time 0.003889/1.266, allocations: 2.501 MB / 1.17 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.266, allocations: 4 kB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/1.267, allocations: 131.8 kB / 1.17 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.267, allocations: 8.281 kB / 1.17 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/1.267, allocations: 31.94 kB / 1.17 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.267, allocations: 7.938 kB / 1.17 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.267, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/1.269, allocations: 1.551 MB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/1.27, allocations: 351.3 kB / 1.172 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.27, allocations: 16 kB / 1.172 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.271, allocations: 111.7 kB / 1.172 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.271, allocations: 40.5 kB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/1.272, allocations: 23.98 kB / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001891/1.273, allocations: 1.174 MB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/1.273, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001499/1.275, allocations: 0.4992 MB / 1.174 GB, free: 13.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005468/1.275, allocations: 227.1 kB / 1.174 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002455/1.278, allocations: 1.248 MB / 1.175 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.278, allocations: 4 kB / 1.175 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007536/1.279, allocations: 435.1 kB / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.282, allocations: 0.5641 MB / 1.176 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/1.285, allocations: 2.473 MB / 1.179 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/1.286, allocations: 1.153 MB / 1.18 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00166/1.288, allocations: 369 kB / 1.18 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/1.288, allocations: 123.4 kB / 1.18 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/1.288, allocations: 0 / 1.18 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.04583/1.334, allocations: 25.24 MB / 1.205 GB, free: 13.96 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches