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.002059/0.002059, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.00258/0.00258, allocations: 213.7 kB / 23 MB, free: 4.969 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.416/3.416, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 71.45 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.456, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2434/0.6994, allocations: 167.6 MB / 1.491 GB, free: 8.762 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008819/0.7082, allocations: 4.014 MB / 1.495 GB, free: 4.742 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.7099, allocations: 39.62 kB / 1.495 GB, free: 4.703 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.7115, allocations: 496.7 kB / 1.495 GB, free: 4.215 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.7164, allocations: 1.587 MB / 1.497 GB, free: 2.621 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.7207, allocations: 1.375 MB / 1.498 GB, free: 1.258 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00384/0.7245, allocations: 2.206 MB / 1.5 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.7261, allocations: 0.9132 MB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.729, allocations: 1.211 MB / 1.502 GB, free: 12.9 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.7306, allocations: 0.8873 MB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.7309, allocations: 143.9 kB / 1.503 GB, free: 11.87 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.7339, allocations: 1.06 MB / 1.504 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.7345, allocations: 422.6 kB / 1.505 GB, free: 10.39 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008026/0.7353, allocations: 0.525 MB / 1.505 GB, free: 9.867 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.7386, allocations: 1.943 MB / 1.507 GB, free: 7.918 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7386, allocations: 3.984 kB / 1.507 GB, free: 7.914 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7386, allocations: 4 kB / 1.507 GB, free: 7.91 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.7386, allocations: 0 / 1.507 GB, free: 7.91 MB / 1.201 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.004825/0.7435, allocations: 1.605 MB / 1.509 GB, free: 6.27 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.7435, allocations: 8.031 kB / 1.509 GB, free: 6.262 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.7457, allocations: 311 kB / 1.509 GB, free: 5.957 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.7479, allocations: 0.9877 MB / 1.51 GB, free: 4.926 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.7479, allocations: 41 kB / 1.51 GB, free: 4.887 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.7481, allocations: 59.94 kB / 1.51 GB, free: 4.828 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.7495, allocations: 0.7024 MB / 1.511 GB, free: 4.102 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.7496, allocations: 0 / 1.511 GB, free: 4.102 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.7496, allocations: 19.94 kB / 1.511 GB, free: 4.082 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.7496, allocations: 12 kB / 1.511 GB, free: 4.07 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.7511, allocations: 0.6441 MB / 1.511 GB, free: 3.426 MB / 1.201 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.004353/0.7554, allocations: 1.843 MB / 1.513 GB, free: 1.551 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.7566, allocations: 0.5059 MB / 1.514 GB, free: 1.035 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/0.7574, allocations: 340.6 kB / 1.514 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.7577, allocations: 59.95 kB / 1.514 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.7577, allocations: 38.5 kB / 1.514 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001007/0.7588, allocations: 183.8 kB / 1.514 GB, free: 424 kB / 1.201 GB Notification: Performance of pre-optimization done (n=41): time 3.156e-06/0.7588, allocations: 0 / 1.514 GB, free: 424 kB / 1.201 GB Notification: Performance of matching and sorting (n=41): time 0.002709/0.7615, allocations: 1.012 MB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7615, allocations: 55.41 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.7634, allocations: 1.135 MB / 1.517 GB, free: 14.16 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.374e-05/0.7635, allocations: 41.7 kB / 1.517 GB, free: 14.12 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.7639, allocations: 425.2 kB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.7641, allocations: 142.7 kB / 1.517 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.7644, allocations: 117.6 kB / 1.517 GB, free: 13.44 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7646, allocations: 326 kB / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.7652, allocations: 272.4 kB / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.7665, allocations: 1.157 MB / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.7678, allocations: 0.5713 MB / 1.519 GB, free: 10.88 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.7678, allocations: 0 / 1.519 GB, free: 10.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001773/0.7696, allocations: 0.7266 MB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.7696, allocations: 11.94 kB / 1.52 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7696, allocations: 3.938 kB / 1.52 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.7697, allocations: 0 / 1.52 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.7704, allocations: 111.8 kB / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.7704, allocations: 7.984 kB / 1.52 GB, free: 10.01 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.7717, allocations: 95.86 kB / 1.52 GB, free: 9.914 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.7718, allocations: 23.98 kB / 1.52 GB, free: 9.891 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009578/0.7727, allocations: 461.6 kB / 1.521 GB, free: 9.438 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001269/0.774, allocations: 1.152 MB / 1.522 GB, free: 8.039 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001235/0.7752, allocations: 0.5681 MB / 1.523 GB, free: 7.465 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.7752, allocations: 0 / 1.523 GB, free: 7.465 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00179/0.777, allocations: 0.7271 MB / 1.523 GB, free: 6.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.777, allocations: 4 kB / 1.523 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.777, allocations: 0 / 1.523 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.7771, allocations: 7.938 kB / 1.523 GB, free: 6.719 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.7777, allocations: 107.8 kB / 1.523 GB, free: 6.613 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.7777, allocations: 0 / 1.523 GB, free: 6.613 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.7792, allocations: 128.3 kB / 1.523 GB, free: 6.484 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.7793, allocations: 23.97 kB / 1.524 GB, free: 6.461 MB / 1.217 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.0002715/0.7795, allocations: 200.2 kB / 1.524 GB, free: 6.258 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.7798, allocations: 99.39 kB / 1.524 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.7818, allocations: 0.8056 MB / 1.525 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.7818, allocations: 0 / 1.525 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7818, allocations: 0 / 1.525 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.7823, allocations: 187.2 kB / 1.525 GB, free: 5.16 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.7825, allocations: 15.98 kB / 1.525 GB, free: 5.145 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.7835, allocations: 59.92 kB / 1.525 GB, free: 5.086 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.7836, allocations: 40.36 kB / 1.525 GB, free: 5.047 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001907/0.7855, allocations: 0.7612 MB / 1.526 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002366/0.7879, allocations: 1.243 MB / 1.527 GB, free: 3.02 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000614/0.7885, allocations: 279.4 kB / 1.527 GB, free: 2.746 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001476/0.7899, allocations: 0.8273 MB / 1.528 GB, free: 1.906 MB / 1.217 GB Notification: Performance of Backend: time 4.11e-07/0.7899, allocations: 7.875 kB / 1.528 GB, free: 1.898 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003081/0.793, allocations: 0.945 MB / 1.529 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of SimCode: time 0.003609/0.7966, allocations: 2.083 MB / 1.531 GB, free: 14.8 MB / 1.232 GB Notification: Performance of Templates: time 0.04684/0.8435, allocations: 27.03 MB / 1.557 GB, free: 4.184 MB / 1.248 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/jenkins1/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: 11.082054165002774]