Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001484/0.001484, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001419/0.001419, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.669/2.669, allocations: 482.4 MB / 0.7553 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 68.62 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7853/0.7872, allocations: 162.2 MB / 1.083 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2445/1.032, allocations: 198.2 MB / 1.276 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009149/1.041, allocations: 5.045 MB / 1.281 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/1.042, allocations: 31.81 kB / 1.281 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/1.044, allocations: 0.6015 MB / 1.282 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005142/1.049, allocations: 1.831 MB / 1.284 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/1.054, allocations: 1.616 MB / 1.285 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004116/1.058, allocations: 2.772 MB / 1.288 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/1.06, allocations: 1.407 MB / 1.289 GB, free: 10.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/1.063, allocations: 1.402 MB / 1.291 GB, free: 9.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/1.065, allocations: 1.094 MB / 1.292 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006458/1.066, allocations: 184 kB / 1.292 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/1.069, allocations: 1.356 MB / 1.293 GB, free: 6.863 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009087/1.07, allocations: 0.518 MB / 1.294 GB, free: 6.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/1.072, allocations: 0.8087 MB / 1.295 GB, free: 5.531 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004251/1.076, allocations: 2.399 MB / 1.297 GB, free: 3.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.076, allocations: 0 / 1.297 GB, free: 3.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/1.076, allocations: 0 / 1.297 GB, free: 3.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.804e-05/1.076, allocations: 0 / 1.297 GB, free: 3.125 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.006462/1.083, allocations: 2.067 MB / 1.299 GB, free: 1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.083, allocations: 8.031 kB / 1.299 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.084, allocations: 218.1 kB / 1.299 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/1.087, allocations: 1.27 MB / 1.301 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/1.087, allocations: 65.3 kB / 1.301 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/1.087, allocations: 75.94 kB / 1.301 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/1.089, allocations: 0.7988 MB / 1.301 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/1.089, allocations: 0 / 1.301 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/1.089, allocations: 24 kB / 1.301 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/1.089, allocations: 16 kB / 1.301 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/1.09, allocations: 0.8093 MB / 1.302 GB, free: 13.66 MB / 1.029 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.005865/1.096, allocations: 3.372 MB / 1.306 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.098, allocations: 0.7744 MB / 1.306 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/1.099, allocations: 449.8 kB / 1.307 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/1.099, allocations: 288.1 kB / 1.307 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.099, allocations: 46.94 kB / 1.307 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009319/1.1, allocations: 183.5 kB / 1.307 GB, free: 8.312 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.455e-06/1.1, allocations: 0 / 1.307 GB, free: 8.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.003281/1.104, allocations: 1.302 MB / 1.309 GB, free: 7.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.104, allocations: 55.84 kB / 1.309 GB, free: 6.938 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.106, allocations: 1.567 MB / 1.31 GB, free: 5.363 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/1.107, allocations: 41.7 kB / 1.31 GB, free: 5.316 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/1.107, allocations: 0.5226 MB / 1.311 GB, free: 4.785 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/1.107, allocations: 169.5 kB / 1.311 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/1.108, allocations: 142 kB / 1.311 GB, free: 4.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.108, allocations: 322 kB / 1.311 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008095/1.109, allocations: 354.4 kB / 1.312 GB, free: 3.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/1.11, allocations: 0.611 MB / 1.312 GB, free: 3.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/1.111, allocations: 0.7512 MB / 1.313 GB, free: 2.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.111, allocations: 0 / 1.313 GB, free: 2.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00234/1.114, allocations: 0.9356 MB / 1.314 GB, free: 1.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.114, allocations: 11.94 kB / 1.314 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.114, allocations: 3.984 kB / 1.314 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.114, allocations: 0 / 1.314 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/1.115, allocations: 139.7 kB / 1.314 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.115, allocations: 4 kB / 1.314 GB, free: 1.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.116, allocations: 139.7 kB / 1.314 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/1.116, allocations: 31.95 kB / 1.314 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001168/1.117, allocations: 0.5571 MB / 1.315 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/1.119, allocations: 0.6197 MB / 1.315 GB, free: 15.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00167/1.12, allocations: 0.743 MB / 1.316 GB, free: 15.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/1.12, allocations: 4 kB / 1.316 GB, free: 15.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.002235/1.122, allocations: 0.9368 MB / 1.317 GB, free: 14.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.122, allocations: 6.656 kB / 1.317 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/1.123, allocations: 0 / 1.317 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.123, allocations: 4 kB / 1.317 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/1.123, allocations: 139.7 kB / 1.317 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.123, allocations: 0 / 1.317 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.125, allocations: 176 kB / 1.317 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/1.125, allocations: 31.95 kB / 1.317 GB, free: 13.74 MB / 1.045 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 (51): * Single equations (assignments): 51 * 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.0002758/1.125, allocations: 216.1 kB / 1.317 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/1.126, allocations: 122.5 kB / 1.318 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/1.128, allocations: 1.019 MB / 1.319 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.128, allocations: 8 kB / 1.319 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.128, allocations: 0 / 1.319 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/1.128, allocations: 3.984 kB / 1.319 GB, free: 12.37 MB / 1.045 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.004135/1.132, allocations: 2.395 MB / 1.321 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.132, allocations: 0 / 1.321 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/1.133, allocations: 135.7 kB / 1.321 GB, free: 9.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.133, allocations: 8 kB / 1.321 GB, free: 9.738 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/1.133, allocations: 19.92 kB / 1.321 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/1.133, allocations: 8 kB / 1.321 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.133, allocations: 0 / 1.321 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/1.136, allocations: 1.514 MB / 1.323 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/1.137, allocations: 331.3 kB / 1.323 GB, free: 7.809 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.137, allocations: 19.94 kB / 1.323 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.138, allocations: 83.94 kB / 1.323 GB, free: 7.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.138, allocations: 48.31 kB / 1.323 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/1.138, allocations: 20 kB / 1.323 GB, free: 7.641 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001892/1.14, allocations: 1.145 MB / 1.324 GB, free: 6.492 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.71e-07/1.14, allocations: 0 / 1.324 GB, free: 6.492 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001407/1.142, allocations: 487.2 kB / 1.325 GB, free: 6.016 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.actPos.y,mixBox.actPosOutMin.y) * 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 (60): * Single equations (assignments): 60 * 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.0005348/1.142, allocations: 235.6 kB / 1.325 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.145, allocations: 1.263 MB / 1.326 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.145, allocations: 0 / 1.326 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008673/1.146, allocations: 422.7 kB / 1.327 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.148, allocations: 0.5242 MB / 1.327 GB, free: 3.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/1.152, allocations: 2.072 MB / 1.329 GB, free: 1.445 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/1.152, allocations: 1.113 MB / 1.33 GB, free: 312 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/1.153, allocations: 123.3 kB / 1.33 GB, free: 188 kB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/1.153, allocations: 0 / 1.33 GB, free: 188 kB / 1.045 GB Notification: Performance of Templates: time 0.03146/1.184, allocations: 20.15 MB / 1.35 GB, free: 12.22 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches