Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.669/1.669, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 183.5 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 100.4 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002928, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4944, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003038/0.4974, allocations: 3.222 MB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.499, allocations: 1.332 MB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.4993, allocations: 13.97 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.4995, allocations: 101.1 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.4997, allocations: 77.45 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.5002, allocations: 308.5 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.5008, allocations: 0.8968 MB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.5014, allocations: 0.5028 MB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.5016, allocations: 229.3 kB / 1.047 GB, free: 53.94 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.5018, allocations: 280.7 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.5019, allocations: 24.34 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.5019, allocations: 23.81 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.502, allocations: 118.6 kB / 1.048 GB, free: 53.72 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.5022, allocations: 335 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.503, allocations: 1.138 MB / 1.049 GB, free: 53.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.503, allocations: 0 / 1.049 GB, free: 53.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.503, allocations: 1.312 kB / 1.049 GB, free: 53.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.5031, allocations: 2.531 kB / 1.049 GB, free: 53.15 MB / 0.698 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.001742/0.5048, allocations: 1.119 MB / 1.05 GB, free: 52.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5048, allocations: 10.75 kB / 1.05 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.505, allocations: 97.97 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.5055, allocations: 0.5206 MB / 1.051 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.5056, allocations: 57.91 kB / 1.051 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.5057, allocations: 77.39 kB / 1.051 GB, free: 51.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.5072, allocations: 0.8532 MB / 1.052 GB, free: 51.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5072, allocations: 3.219 kB / 1.052 GB, free: 51.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.5073, allocations: 29.59 kB / 1.052 GB, free: 51.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5073, allocations: 17.34 kB / 1.052 GB, free: 51.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.509, allocations: 0.7498 MB / 1.053 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.5118, allocations: 2.505 MB / 1.055 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.5136, allocations: 0.7942 MB / 1.056 GB, free: 49.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.5144, allocations: 394 kB / 1.056 GB, free: 49.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.5144, allocations: 10.5 kB / 1.056 GB, free: 49.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008876/0.5153, allocations: 408.7 kB / 1.057 GB, free: 49.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.5153, allocations: 0 / 1.057 GB, free: 49.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.002175/0.5175, allocations: 0.972 MB / 1.058 GB, free: 49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.5176, allocations: 140.1 kB / 1.058 GB, free: 48.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.5181, allocations: 0.563 MB / 1.058 GB, free: 48.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.5181, allocations: 37.28 kB / 1.058 GB, free: 48.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.5183, allocations: 363.4 kB / 1.059 GB, free: 48.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.5184, allocations: 170.3 kB / 1.059 GB, free: 48.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.5185, allocations: 19.12 kB / 1.059 GB, free: 48.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.5186, allocations: 374.9 kB / 1.059 GB, free: 47.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007147/0.5193, allocations: 312.4 kB / 1.06 GB, free: 47.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.52, allocations: 457.2 kB / 1.06 GB, free: 47.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.5214, allocations: 0.7317 MB / 1.061 GB, free: 47.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5214, allocations: 3.188 kB / 1.061 GB, free: 47.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001603/0.523, allocations: 0.8895 MB / 1.062 GB, free: 46.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.5231, allocations: 212.3 kB / 1.062 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5231, allocations: 2.625 kB / 1.062 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5232, allocations: 9.688 kB / 1.062 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.5238, allocations: 165.2 kB / 1.062 GB, free: 46.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5238, allocations: 10.41 kB / 1.062 GB, free: 46.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.5243, allocations: 152.1 kB / 1.062 GB, free: 46.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.5243, allocations: 20.91 kB / 1.062 GB, free: 46.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-06/0.5243, allocations: 3.469 kB / 1.062 GB, free: 46.41 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/0.5256, allocations: 0.694 MB / 1.063 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5256, allocations: 0 / 1.063 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.5256, allocations: 6.188 kB / 1.063 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.5261, allocations: 131.8 kB / 1.063 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.5261, allocations: 11.25 kB / 1.063 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.5265, allocations: 131.5 kB / 1.063 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.5266, allocations: 19.97 kB / 1.063 GB, free: 46.06 MB / 0.698 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,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * 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.000239/0.5268, allocations: 303.3 kB / 1.063 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.5269, allocations: 65.25 kB / 1.063 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.5284, allocations: 0.7301 MB / 1.064 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5285, allocations: 2.969 kB / 1.064 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5285, allocations: 4.438 kB / 1.064 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5285, allocations: 2.766 kB / 1.064 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.5291, allocations: 0.7098 MB / 1.065 GB, free: 45.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5291, allocations: 0 / 1.065 GB, free: 45.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.5296, allocations: 139.7 kB / 1.065 GB, free: 45.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5296, allocations: 0 / 1.065 GB, free: 45.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.5297, allocations: 15.77 kB / 1.065 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5297, allocations: 7.125 kB / 1.065 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5297, allocations: 0 / 1.065 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.5318, allocations: 1.102 MB / 1.066 GB, free: 44.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.5319, allocations: 139.8 kB / 1.066 GB, free: 44.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.532, allocations: 14.42 kB / 1.066 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.5324, allocations: 93.95 kB / 1.066 GB, free: 44.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5325, allocations: 47.84 kB / 1.066 GB, free: 44.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.5326, allocations: 19.5 kB / 1.066 GB, free: 44.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003649/0.5329, allocations: 396.7 kB / 1.067 GB, free: 44.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5329, allocations: 7.156 kB / 1.067 GB, free: 44.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005448/0.5335, allocations: 255.2 kB / 1.067 GB, free: 44.24 MB / 0.698 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.0001042/0.5336, allocations: 123.1 kB / 1.067 GB, free: 44.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.5358, allocations: 1.253 MB / 1.068 GB, free: 43.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5358, allocations: 0 / 1.068 GB, free: 43.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.5365, allocations: 344.1 kB / 1.069 GB, free: 43.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.5371, allocations: 126.9 kB / 1.069 GB, free: 43.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.5389, allocations: 1.486 MB / 1.07 GB, free: 42.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.5392, allocations: 0.9134 MB / 1.071 GB, free: 41.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003211/0.5395, allocations: 70.73 kB / 1.071 GB, free: 41.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.5397, allocations: 52.05 kB / 1.071 GB, free: 41.79 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.5397, allocations: 0 / 1.071 GB, free: 41.79 MB / 0.698 GB Notification: Performance of Templates: time 0.01116/0.5508, allocations: 7.091 MB / 1.078 GB, free: 41.36 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)