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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.373/3.373, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.03e-05/4.279e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.271/0.271, allocations: 167.5 MB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2811, allocations: 3.997 MB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.2832, allocations: 39.62 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2852, allocations: 0.4926 MB / 1.046 GB, free: 9.91 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.2913, allocations: 1.628 MB / 1.047 GB, free: 8.273 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005101/0.2964, allocations: 1.402 MB / 1.049 GB, free: 6.867 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004275/0.3007, allocations: 2.185 MB / 1.051 GB, free: 4.672 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.3028, allocations: 0.9069 MB / 1.052 GB, free: 3.754 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004192/0.307, allocations: 1.512 MB / 1.053 GB, free: 2.238 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.3084, allocations: 0.744 MB / 1.054 GB, free: 1.492 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.3086, allocations: 140 kB / 1.054 GB, free: 1.355 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.3111, allocations: 1.06 MB / 1.055 GB, free: 300 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.7351/1.046, allocations: 428.2 kB / 1.055 GB, free: 49.64 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/1.047, allocations: 463.4 kB / 1.056 GB, free: 49.64 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003074/1.05, allocations: 2.021 MB / 1.058 GB, free: 49.64 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.05, allocations: 2.906 kB / 1.058 GB, free: 49.64 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.985e-06/1.05, allocations: 1 kB / 1.058 GB, free: 49.64 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.963e-05/1.05, allocations: 0 / 1.058 GB, free: 49.64 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.003892/1.054, allocations: 1.593 MB / 1.059 GB, free: 48.95 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.054, allocations: 8.938 kB / 1.059 GB, free: 48.95 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/1.056, allocations: 367.7 kB / 1.06 GB, free: 48.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.058, allocations: 1.018 MB / 1.061 GB, free: 48.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/1.058, allocations: 40.88 kB / 1.061 GB, free: 48.59 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.058, allocations: 58.28 kB / 1.061 GB, free: 48.59 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.059, allocations: 0.7054 MB / 1.061 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.059, allocations: 4.328 kB / 1.061 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/1.059, allocations: 19.75 kB / 1.061 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/1.059, allocations: 10.91 kB / 1.061 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.061, allocations: 0.6346 MB / 1.062 GB, free: 48.46 MB / 1.01 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.003618/1.064, allocations: 1.87 MB / 1.064 GB, free: 48.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.065, allocations: 0.5045 MB / 1.064 GB, free: 48.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/1.066, allocations: 339.3 kB / 1.065 GB, free: 48.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/1.066, allocations: 56.44 kB / 1.065 GB, free: 48.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.066, allocations: 42.12 kB / 1.065 GB, free: 48.1 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008233/1.067, allocations: 178.7 kB / 1.065 GB, free: 48.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=41): time 2.004e-06/1.067, allocations: 0.8125 kB / 1.065 GB, free: 48.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.002426/1.07, allocations: 1.032 MB / 1.066 GB, free: 48 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.07, allocations: 58.22 kB / 1.066 GB, free: 47.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/1.071, allocations: 1.134 MB / 1.067 GB, free: 47.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/1.071, allocations: 37.98 kB / 1.067 GB, free: 47.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/1.072, allocations: 435 kB / 1.068 GB, free: 47.61 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.072, allocations: 152.2 kB / 1.068 GB, free: 47.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.072, allocations: 110.9 kB / 1.068 GB, free: 47.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/1.072, allocations: 320 kB / 1.068 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/1.073, allocations: 270.8 kB / 1.068 GB, free: 47.19 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/1.074, allocations: 1.157 MB / 1.07 GB, free: 46.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.075, allocations: 0.5737 MB / 1.07 GB, free: 46.13 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.075, allocations: 0 / 1.07 GB, free: 46.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00149/1.076, allocations: 0.7371 MB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.076, allocations: 9.688 kB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.076, allocations: 0 / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/1.076, allocations: 3.75 kB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/1.077, allocations: 110.1 kB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.077, allocations: 6.562 kB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.078, allocations: 100.5 kB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/1.078, allocations: 24.09 kB / 1.071 GB, free: 46.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007993/1.079, allocations: 456.1 kB / 1.072 GB, free: 45.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008487/1.08, allocations: 1.158 MB / 1.073 GB, free: 44.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001095/1.081, allocations: 0.5689 MB / 1.073 GB, free: 44.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/1.081, allocations: 3.75 kB / 1.073 GB, free: 44.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001455/1.082, allocations: 0.736 MB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.082, allocations: 5.312 kB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/1.082, allocations: 1.031 kB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/1.082, allocations: 3.688 kB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/1.083, allocations: 105.9 kB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.083, allocations: 7.109 kB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.084, allocations: 130.4 kB / 1.074 GB, free: 44.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/1.084, allocations: 24.12 kB / 1.074 GB, free: 44.8 MB / 1.01 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 (42): * Single equations (assignments): 42 * 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.0002077/1.085, allocations: 208.4 kB / 1.074 GB, free: 44.62 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/1.085, allocations: 107.5 kB / 1.074 GB, free: 44.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/1.086, allocations: 0.7934 MB / 1.075 GB, free: 44.51 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.086, allocations: 6.094 kB / 1.075 GB, free: 44.51 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.087, allocations: 3.938 kB / 1.075 GB, free: 44.51 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.087, allocations: 5.203 kB / 1.075 GB, free: 44.51 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/1.09, allocations: 1.628 MB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.09, allocations: 5.844 kB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/1.09, allocations: 112.3 kB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/1.09, allocations: 4.281 kB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/1.09, allocations: 12.12 kB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/1.09, allocations: 9.188 kB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.09, allocations: 2.688 kB / 1.077 GB, free: 44.19 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/1.092, allocations: 1.24 MB / 1.078 GB, free: 43.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/1.093, allocations: 202.9 kB / 1.078 GB, free: 43.87 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/1.093, allocations: 9.406 kB / 1.078 GB, free: 43.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/1.094, allocations: 68.17 kB / 1.078 GB, free: 43.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.094, allocations: 48.34 kB / 1.079 GB, free: 43.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/1.094, allocations: 21.03 kB / 1.079 GB, free: 43.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001305/1.095, allocations: 0.821 MB / 1.079 GB, free: 43.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/1.095, allocations: 0 / 1.079 GB, free: 43.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00132/1.097, allocations: 425.5 kB / 1.08 GB, free: 43.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.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 (50): * Single equations (assignments): 50 * 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.0004556/1.097, allocations: 211.5 kB / 1.08 GB, free: 43.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.099, allocations: 0.9007 MB / 1.081 GB, free: 43.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.099, allocations: 1 kB / 1.081 GB, free: 43.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005978/1.1, allocations: 316.8 kB / 1.081 GB, free: 43.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.102, allocations: 399.9 kB / 1.082 GB, free: 43.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/1.104, allocations: 1.606 MB / 1.083 GB, free: 42.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/1.105, allocations: 439.6 kB / 1.084 GB, free: 42.72 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001052/1.106, allocations: 266 kB / 1.084 GB, free: 42.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/1.106, allocations: 92.66 kB / 1.084 GB, free: 42.69 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/1.106, allocations: 3.219 kB / 1.084 GB, free: 42.69 MB / 1.01 GB Notification: Performance of Templates: time 0.04674/1.153, allocations: 21.39 MB / 1.105 GB, free: 40.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.699054277036339]