Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001764/0.001764, allocations: 81.03 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001944/0.001944, allocations: 163.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.571/1.571, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.053/3.053, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.109e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.1/1.1, allocations: 167.5 MB / 1.145 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00819/1.108, allocations: 4.013 MB / 1.149 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.109, allocations: 43.84 kB / 1.149 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/1.111, allocations: 498.4 kB / 1.149 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/1.116, allocations: 1.631 MB / 1.151 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/1.12, allocations: 1.42 MB / 1.152 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003805/1.124, allocations: 2.223 MB / 1.155 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/1.125, allocations: 0.8985 MB / 1.155 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/1.128, allocations: 1.52 MB / 1.157 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/1.129, allocations: 0.7484 MB / 1.158 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/1.129, allocations: 140.1 kB / 1.158 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/1.132, allocations: 1.052 MB / 1.159 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/1.132, allocations: 429.9 kB / 1.159 GB, free: 44.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000601/1.133, allocations: 466.6 kB / 1.16 GB, free: 44.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/1.135, allocations: 2.012 MB / 1.162 GB, free: 44.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.135, allocations: 0.9062 kB / 1.162 GB, free: 44.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.953e-06/1.135, allocations: 0 / 1.162 GB, free: 44.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.746e-05/1.135, allocations: 6.969 kB / 1.162 GB, free: 44.48 MB / 1.076 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.003912/1.139, allocations: 1.606 MB / 1.163 GB, free: 43.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.139, allocations: 11.19 kB / 1.163 GB, free: 43.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/1.141, allocations: 304.8 kB / 1.163 GB, free: 43.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.143, allocations: 0.9991 MB / 1.164 GB, free: 43.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/1.143, allocations: 44.09 kB / 1.165 GB, free: 43.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.143, allocations: 54.59 kB / 1.165 GB, free: 43.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.145, allocations: 0.6989 MB / 1.165 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.145, allocations: 7.312 kB / 1.165 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/1.145, allocations: 19.84 kB / 1.165 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/1.145, allocations: 12.22 kB / 1.165 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/1.146, allocations: 0.6343 MB / 1.166 GB, free: 43.21 MB / 1.076 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.003706/1.15, allocations: 1.84 MB / 1.168 GB, free: 42.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.151, allocations: 0.5135 MB / 1.168 GB, free: 42.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/1.151, allocations: 336.4 kB / 1.169 GB, free: 42.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/1.152, allocations: 61.58 kB / 1.169 GB, free: 42.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.152, allocations: 36.81 kB / 1.169 GB, free: 42.83 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008848/1.153, allocations: 175.4 kB / 1.169 GB, free: 42.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/1.153, allocations: 1 kB / 1.169 GB, free: 42.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=41): time 0.0024/1.155, allocations: 1.015 MB / 1.17 GB, free: 42.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/1.155, allocations: 58.05 kB / 1.17 GB, free: 42.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/1.157, allocations: 1.128 MB / 1.171 GB, free: 42.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/1.157, allocations: 42.08 kB / 1.171 GB, free: 42.49 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1.157, allocations: 430.8 kB / 1.171 GB, free: 42.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.158, allocations: 146.3 kB / 1.172 GB, free: 42.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/1.158, allocations: 112.5 kB / 1.172 GB, free: 42.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/1.158, allocations: 323.9 kB / 1.172 GB, free: 41.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007799/1.159, allocations: 278.7 kB / 1.172 GB, free: 41.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/1.16, allocations: 1.151 MB / 1.173 GB, free: 40.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/1.161, allocations: 0.5778 MB / 1.174 GB, free: 40.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.161, allocations: 0 / 1.174 GB, free: 40.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001904/1.163, allocations: 0.7294 MB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.163, allocations: 5.844 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.163, allocations: 0.8438 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.163, allocations: 1.312 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/1.164, allocations: 113.3 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.164, allocations: 2.156 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.165, allocations: 96.12 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/1.165, allocations: 25.16 kB / 1.175 GB, free: 40.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009262/1.166, allocations: 467 kB / 1.175 GB, free: 40.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/1.167, allocations: 1.144 MB / 1.176 GB, free: 39.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001407/1.169, allocations: 0.5792 MB / 1.177 GB, free: 39.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/1.169, allocations: 0.9688 kB / 1.177 GB, free: 39.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00199/1.171, allocations: 0.7181 MB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.171, allocations: 8 kB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.171, allocations: 3.438 kB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/1.171, allocations: 1.375 kB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/1.171, allocations: 108.9 kB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.171, allocations: 2.281 kB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.173, allocations: 126.7 kB / 1.178 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/1.173, allocations: 25.31 kB / 1.178 GB, free: 39.51 MB / 1.076 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.0002456/1.173, allocations: 214.7 kB / 1.178 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.173, allocations: 94.08 kB / 1.178 GB, free: 39.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/1.176, allocations: 0.7907 MB / 1.179 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.176, allocations: 5.656 kB / 1.179 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.176, allocations: 0 / 1.179 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.176, allocations: 7.266 kB / 1.179 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/1.179, allocations: 1.647 MB / 1.181 GB, free: 38.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.179, allocations: 2.844 kB / 1.181 GB, free: 38.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/1.18, allocations: 115 kB / 1.181 GB, free: 38.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.18, allocations: 7.906 kB / 1.181 GB, free: 38.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/1.18, allocations: 14.84 kB / 1.181 GB, free: 38.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/1.18, allocations: 7.625 kB / 1.181 GB, free: 38.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/1.18, allocations: 3.859 kB / 1.181 GB, free: 38.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/1.183, allocations: 1.216 MB / 1.182 GB, free: 38.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/1.183, allocations: 204.2 kB / 1.182 GB, free: 38.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/1.183, allocations: 12.48 kB / 1.182 GB, free: 38.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.184, allocations: 64.72 kB / 1.182 GB, free: 38.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.185, allocations: 44.78 kB / 1.182 GB, free: 38.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/1.185, allocations: 19.25 kB / 1.182 GB, free: 38.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00157/1.186, allocations: 0.8214 MB / 1.183 GB, free: 38.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.186, allocations: 1 kB / 1.183 GB, free: 38.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001694/1.188, allocations: 417.3 kB / 1.183 GB, free: 38.39 MB / 1.076 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.0005116/1.188, allocations: 217 kB / 1.184 GB, free: 38.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002581/1.191, allocations: 0.8978 MB / 1.185 GB, free: 38.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.191, allocations: 1.062 kB / 1.185 GB, free: 38.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/1.192, allocations: 318.7 kB / 1.185 GB, free: 38.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.194, allocations: 376.3 kB / 1.185 GB, free: 38.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/1.197, allocations: 1.57 MB / 1.187 GB, free: 37.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/1.198, allocations: 439.1 kB / 1.187 GB, free: 37.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001283/1.199, allocations: 260.7 kB / 1.187 GB, free: 37.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/1.199, allocations: 92.38 kB / 1.188 GB, free: 37.4 MB / 1.076 GB Notification: Performance of SimCode: time 1.332e-06/1.199, allocations: 0 / 1.188 GB, free: 37.4 MB / 1.076 GB Notification: Performance of Templates: time 0.04559/1.245, allocations: 21.35 MB / 1.208 GB, free: 35.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.846953701227903]