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 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.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.0008667/0.0008669, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.0013, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 7.875 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3114, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.1972/0.5086, allocations: 193.5 MB / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7145/1.223, allocations: 5.135 MB / 1.253 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/1.225, allocations: 35.5 kB / 1.253 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/1.227, allocations: 0.5042 MB / 1.254 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004903/1.232, allocations: 1.742 MB / 1.256 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/1.236, allocations: 1.523 MB / 1.257 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005375/1.242, allocations: 3.516 MB / 1.26 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/1.244, allocations: 1.224 MB / 1.262 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/1.246, allocations: 1.057 MB / 1.263 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/1.248, allocations: 1.071 MB / 1.264 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/1.248, allocations: 78.81 kB / 1.264 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/1.251, allocations: 1.498 MB / 1.265 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005765/1.252, allocations: 437.8 kB / 1.266 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.253, allocations: 0.7438 MB / 1.266 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/1.255, allocations: 1.9 MB / 1.268 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.255, allocations: 3.688 kB / 1.268 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.255, allocations: 5.75 kB / 1.268 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.204e-05/1.255, allocations: 0.9688 kB / 1.268 GB, free: 2.461 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005739/1.261, allocations: 1.818 MB / 1.27 GB, free: 17.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.261, allocations: 13.62 kB / 1.27 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.262, allocations: 229.6 kB / 1.27 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/1.266, allocations: 1.313 MB / 1.272 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/1.266, allocations: 64.02 kB / 1.272 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/1.266, allocations: 82.53 kB / 1.272 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/1.268, allocations: 0.8134 MB / 1.272 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/1.268, allocations: 0 / 1.272 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/1.268, allocations: 29.47 kB / 1.273 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/1.268, allocations: 28.94 kB / 1.273 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/1.27, allocations: 0.8678 MB / 1.273 GB, free: 17 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.007544/1.278, allocations: 3.473 MB / 1.277 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/1.279, allocations: 0.7459 MB / 1.278 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/1.28, allocations: 457.5 kB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/1.28, allocations: 292.5 kB / 1.278 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/1.28, allocations: 38.25 kB / 1.278 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/1.282, allocations: 238.9 kB / 1.278 GB, free: 15.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 3.557e-06/1.282, allocations: 0 / 1.278 GB, free: 15.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=53): time 0.003218/1.285, allocations: 1.348 MB / 1.28 GB, free: 15.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.285, allocations: 58.09 kB / 1.28 GB, free: 15.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/1.288, allocations: 1.637 MB / 1.281 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/1.288, allocations: 40.45 kB / 1.282 GB, free: 15.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/1.288, allocations: 0.5343 MB / 1.282 GB, free: 14.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/1.289, allocations: 181 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/1.289, allocations: 42.97 kB / 1.282 GB, free: 14.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.289, allocations: 324.9 kB / 1.283 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/1.29, allocations: 372.4 kB / 1.283 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/1.291, allocations: 0.6342 MB / 1.284 GB, free: 14.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.292, allocations: 0.7904 MB / 1.284 GB, free: 14.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.292, allocations: 1.031 kB / 1.284 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002122/1.294, allocations: 0.9903 MB / 1.285 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/1.294, allocations: 99.19 kB / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.294, allocations: 0 / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.294, allocations: 2.062 kB / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/1.295, allocations: 175.2 kB / 1.286 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/1.295, allocations: 1.688 kB / 1.286 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.297, allocations: 162.4 kB / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/1.297, allocations: 34.61 kB / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/1.297, allocations: 4 kB / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/1.299, allocations: 0.8251 MB / 1.287 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/1.299, allocations: 0 / 1.287 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/1.299, allocations: 2.281 kB / 1.287 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/1.3, allocations: 167.1 kB / 1.287 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.3, allocations: 6.094 kB / 1.287 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.302, allocations: 160 kB / 1.287 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/1.302, allocations: 29.89 kB / 1.287 GB, free: 13.98 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 (57): * Single equations (assignments): 57 * 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.0007508/1.303, allocations: 370.9 kB / 1.287 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/1.303, allocations: 127.5 kB / 1.287 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/1.305, allocations: 1.057 MB / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.305, allocations: 10.44 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.305, allocations: 0 / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.305, allocations: 7.594 kB / 1.288 GB, free: 13.63 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 postOpt removeSimpleEquations (simulation): time 0.00392/1.309, allocations: 2.499 MB / 1.291 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.309, allocations: 3.281 kB / 1.291 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/1.31, allocations: 138.6 kB / 1.291 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/1.31, allocations: 5.156 kB / 1.291 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/1.31, allocations: 21.7 kB / 1.291 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/1.31, allocations: 7.812 kB / 1.291 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.31, allocations: 2.469 kB / 1.291 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.313, allocations: 1.562 MB / 1.293 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/1.314, allocations: 348 kB / 1.293 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.314, allocations: 21.77 kB / 1.293 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.315, allocations: 97.08 kB / 1.293 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.315, allocations: 58.89 kB / 1.293 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/1.315, allocations: 20.59 kB / 1.293 GB, free: 12.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002045/1.317, allocations: 1.181 MB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.317, allocations: 1.031 kB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00201/1.319, allocations: 0.501 MB / 1.295 GB, free: 12.5 MB / 1.014 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 (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.0006285/1.32, allocations: 237.7 kB / 1.295 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.323, allocations: 1.264 MB / 1.296 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/1.323, allocations: 0 / 1.296 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/1.323, allocations: 438.9 kB / 1.297 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/1.328, allocations: 0.5652 MB / 1.297 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/1.332, allocations: 2.644 MB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/1.333, allocations: 1.15 MB / 1.301 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/1.334, allocations: 121.3 kB / 1.301 GB, free: 10.27 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/1.334, allocations: 0 / 1.301 GB, free: 10.27 MB / 1.014 GB Notification: Performance of Templates: time 0.03225/1.366, allocations: 20.76 MB / 1.321 GB, free: 4.543 MB / 1.014 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=480 -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