Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008178/0.0008178, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.009925/0.009925, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005636, allocations: 8 kB / 0.816 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.8784, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003868/0.8823, allocations: 3.482 MB / 0.9584 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.8849, allocations: 1.228 MB / 0.9596 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.8853, allocations: 12.69 kB / 0.9597 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.8856, allocations: 96.59 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.8859, allocations: 88.36 kB / 0.9598 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.8864, allocations: 314.9 kB / 0.9601 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000728/0.8871, allocations: 0.9191 MB / 0.961 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007016/0.8879, allocations: 0.5136 MB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.8881, allocations: 232.9 kB / 0.9617 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.8884, allocations: 279.3 kB / 0.962 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.8885, allocations: 23.38 kB / 0.962 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.8885, allocations: 23.91 kB / 0.9621 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.8886, allocations: 119.3 kB / 0.9622 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.8889, allocations: 334.8 kB / 0.9625 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.8897, allocations: 1.138 MB / 0.9636 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8897, allocations: 0 / 0.9636 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8897, allocations: 0 / 0.9636 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.8897, allocations: 1 kB / 0.9636 GB, free: 0.8711 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002186/0.8919, allocations: 1.126 MB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.892, allocations: 9.062 kB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.8922, allocations: 93.72 kB / 0.9648 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.8929, allocations: 0.529 MB / 0.9653 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.8929, allocations: 53.38 kB / 0.9654 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8931, allocations: 81.8 kB / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.895, allocations: 0.8568 MB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.895, allocations: 0 / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.8951, allocations: 31.19 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.8951, allocations: 23.94 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.8971, allocations: 0.7519 MB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.9014, allocations: 2.506 MB / 0.9695 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.9035, allocations: 0.7971 MB / 0.9703 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009593/0.9045, allocations: 392.2 kB / 0.9707 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.9045, allocations: 11.14 kB / 0.9707 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.9057, allocations: 411.1 kB / 0.9711 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.906e-06/0.9057, allocations: 0 / 0.9711 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.002871/0.9086, allocations: 0.9681 MB / 0.972 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.9087, allocations: 147.9 kB / 0.9722 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.9097, allocations: 0.5673 MB / 0.9727 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.9098, allocations: 41.69 kB / 0.9728 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.9101, allocations: 367.2 kB / 0.9731 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.9103, allocations: 169 kB / 0.9733 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-05/0.9104, allocations: 52.5 kB / 0.9733 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.9106, allocations: 377.2 kB / 0.9737 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.9115, allocations: 314.1 kB / 0.974 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009913/0.9125, allocations: 455.4 kB / 0.9744 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.9142, allocations: 0.7426 MB / 0.9751 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.9143, allocations: 1.344 kB / 0.9751 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002211/0.9165, allocations: 0.8916 MB / 0.976 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.9166, allocations: 212.7 kB / 0.9762 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.9167, allocations: 1.344 kB / 0.9762 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.9167, allocations: 5.875 kB / 0.9762 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.9174, allocations: 166.8 kB / 0.9764 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.9174, allocations: 9 kB / 0.9764 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.9182, allocations: 153.1 kB / 0.9765 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.9182, allocations: 23.05 kB / 0.9766 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.9183, allocations: 4.438 kB / 0.9766 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/0.9199, allocations: 0.6959 MB / 0.9772 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9199, allocations: 2.719 kB / 0.9772 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.92, allocations: 8.188 kB / 0.9772 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.9205, allocations: 133.2 kB / 0.9774 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9205, allocations: 4.031 kB / 0.9774 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.9211, allocations: 123 kB / 0.9775 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.9211, allocations: 19.12 kB / 0.9775 GB, free: 7.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0004825/0.9216, allocations: 311.5 kB / 0.9778 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.9217, allocations: 63.19 kB / 0.9779 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.9236, allocations: 0.7329 MB / 0.9786 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.9236, allocations: 11.94 kB / 0.9786 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9237, allocations: 0 / 0.9786 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.9237, allocations: 3.984 kB / 0.9786 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.9245, allocations: 0.7081 MB / 0.9793 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9245, allocations: 0 / 0.9793 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.9251, allocations: 143.8 kB / 0.9794 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9251, allocations: 0 / 0.9794 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/0.9252, allocations: 12 kB / 0.9794 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9252, allocations: 4 kB / 0.9794 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9252, allocations: 0 / 0.9794 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.9279, allocations: 1.101 MB / 0.9805 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.9281, allocations: 144.3 kB / 0.9807 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.9282, allocations: 16 kB / 0.9807 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.9287, allocations: 91.91 kB / 0.9808 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.9288, allocations: 48.31 kB / 0.9808 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.9289, allocations: 23.98 kB / 0.9808 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005249/0.9294, allocations: 398.8 kB / 0.9812 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9294, allocations: 0 / 0.9812 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007469/0.9302, allocations: 258.9 kB / 0.9815 GB, free: 3.715 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001698/0.9303, allocations: 115.2 kB / 0.9816 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.9331, allocations: 1.256 MB / 0.9828 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9331, allocations: 0 / 0.9828 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.934, allocations: 346.9 kB / 0.9831 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.9347, allocations: 131.8 kB / 0.9832 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.9372, allocations: 1.491 MB / 0.9847 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.9377, allocations: 0.9143 MB / 0.9856 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003307/0.938, allocations: 72.8 kB / 0.9857 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.9382, allocations: 47.42 kB / 0.9857 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/0.9382, allocations: 0 / 0.9857 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of Templates: time 0.01499/0.9532, allocations: 7.077 MB / 0.9926 GB, free: 8.223 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches