Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 103.4 kB / 16.36 MB, free: 6.289 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.001116/0.001117, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.77 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2379, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002902/0.2408, allocations: 1.847 MB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.242, allocations: 0.7168 MB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.2421, allocations: 7.938 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.2421, allocations: 11.86 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.2424, allocations: 51.62 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2426, allocations: 67.86 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.2428, allocations: 131.4 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2429, allocations: 45.36 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.243, allocations: 55.78 kB / 0.954 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.2431, allocations: 47.78 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2432, allocations: 8 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.2432, allocations: 19.98 kB / 0.9541 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.2432, allocations: 19.92 kB / 0.9541 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.2433, allocations: 51.73 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.2435, allocations: 111.6 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2435, allocations: 0 / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2435, allocations: 4 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2435, allocations: 0 / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005281/0.244, allocations: 415 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.2441, allocations: 12.03 kB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.2441, allocations: 8.844 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2444, allocations: 198.6 kB / 0.9548 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.2444, allocations: 12.28 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.2444, allocations: 4.375 kB / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.2446, allocations: 93.97 kB / 0.9549 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2446, allocations: 4 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2447, allocations: 4 kB / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2447, allocations: 7.984 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.2449, allocations: 63.89 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.2454, allocations: 368.5 kB / 0.9554 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.2456, allocations: 58.55 kB / 0.9554 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.2457, allocations: 24.89 kB / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.2457, allocations: 0 / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.2457, allocations: 38.56 kB / 0.9555 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2457, allocations: 0 / 0.9555 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000357/0.2461, allocations: 105.4 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2461, allocations: 51.41 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2463, allocations: 153.3 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2463, allocations: 25.7 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.2464, allocations: 108 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.2464, allocations: 15.84 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2464, allocations: 9.719 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.2465, allocations: 326.8 kB / 0.9562 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.2466, allocations: 28.83 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.2467, allocations: 19.98 kB / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2469, allocations: 48.81 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2469, allocations: 0 / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002123/0.2471, allocations: 89.78 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2471, allocations: 7.938 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2471, allocations: 0 / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2471, allocations: 48 / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.2472, allocations: 15.97 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2472, allocations: 0 / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.2473, allocations: 15.91 kB / 0.9565 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.2473, allocations: 3.984 kB / 0.9565 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001163/0.2474, allocations: 106.1 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.199e-05/0.2475, allocations: 23.97 kB / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001429/0.2477, allocations: 52.81 kB / 0.9566 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.2477, allocations: 0 / 0.9566 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.000193/0.2479, allocations: 81.5 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.2479, allocations: 8 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.2479, allocations: 4 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/0.2479, allocations: 3.938 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.248, allocations: 15.92 kB / 0.9568 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.248, allocations: 0 / 0.9568 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.2481, allocations: 11.92 kB / 0.9568 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2481, allocations: 8 kB / 0.9568 GB, free: 2.023 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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 7.38e-05/0.2482, allocations: 176.3 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.2482, allocations: 11.84 kB / 0.9569 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2484, allocations: 85.83 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2484, allocations: 4 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2485, allocations: 0 / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2485, allocations: 0 / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2486, allocations: 185.6 kB / 0.9572 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2487, allocations: 3.984 kB / 0.9572 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.2487, allocations: 8 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.2487, allocations: 7.875 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2487, allocations: 4 kB / 0.9572 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2487, allocations: 0 / 0.9572 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2488, allocations: 0 / 0.9572 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.249, allocations: 183.3 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.249, allocations: 85.02 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2491, allocations: 3.938 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.2492, allocations: 11.98 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2492, allocations: 4 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2492, allocations: 0 / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.013e-05/0.2493, allocations: 121.5 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2493, allocations: 0 / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003099/0.2496, allocations: 35.84 kB / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001406/0.2498, allocations: 107.2 kB / 0.9578 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.2501, allocations: 72.11 kB / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2501, allocations: 0 / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.2502, allocations: 20.17 kB / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.2505, allocations: 24.06 kB / 0.9579 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.2509, allocations: 233.1 kB / 0.9581 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2511, allocations: 0.6963 MB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.2512, allocations: 4.438 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2512, allocations: 15.38 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2512, allocations: 0 / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.003695/0.2549, allocations: 1.339 MB / 0.9601 GB, free: 14.47 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches