Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.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.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior") translateModel(Buildings.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009884, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001014/0.001014, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.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.453/2.453, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003439, allocations: 12 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7753, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002366/0.7777, allocations: 2.273 MB / 0.9566 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.7799, allocations: 1.65 MB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.7801, allocations: 9.156 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.7802, allocations: 34.83 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.7806, allocations: 128.1 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.7812, allocations: 285.3 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.7816, allocations: 449.7 kB / 0.9591 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.7818, allocations: 120.9 kB / 0.9592 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.782, allocations: 150.9 kB / 0.9594 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.7822, allocations: 149 kB / 0.9595 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.7822, allocations: 13.75 kB / 0.9595 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.7828, allocations: 416.1 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.7828, allocations: 59 kB / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.7829, allocations: 92.55 kB / 0.9601 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.7833, allocations: 381.6 kB / 0.9604 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7833, allocations: 0 / 0.9604 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7833, allocations: 1.031 kB / 0.9604 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.7834, allocations: 0 / 0.9604 GB, free: 3.242 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008683/0.7842, allocations: 0.6567 MB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7843, allocations: 17.2 kB / 0.9611 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.785, allocations: 112.9 kB / 0.9612 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.7854, allocations: 299.4 kB / 0.9615 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.7854, allocations: 25.53 kB / 0.9615 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.7855, allocations: 29 kB / 0.9615 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.7861, allocations: 321.6 kB / 0.9619 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7861, allocations: 0 / 0.9619 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.7862, allocations: 15.03 kB / 0.9619 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.7862, allocations: 6.844 kB / 0.9619 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.7869, allocations: 305.5 kB / 0.9622 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.7884, allocations: 0.8946 MB / 0.963 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.7892, allocations: 300.7 kB / 0.9633 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.7895, allocations: 134 kB / 0.9635 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.7896, allocations: 88.25 kB / 0.9635 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.7897, allocations: 34.56 kB / 0.9636 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.023e-06/0.7897, allocations: 0 / 0.9636 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001167/0.7909, allocations: 399.5 kB / 0.964 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7909, allocations: 53.97 kB / 0.964 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.7913, allocations: 347.4 kB / 0.9643 GB, free: 364 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.7913, allocations: 30.83 kB / 0.9644 GB, free: 328 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.7914, allocations: 181.6 kB / 0.9645 GB, free: 160 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.7915, allocations: 89.38 kB / 0.9646 GB, free: 80 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.7915, allocations: 5.156 kB / 0.9646 GB, free: 76 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7917, allocations: 342 kB / 0.965 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.7921, allocations: 111.1 kB / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.7924, allocations: 113.6 kB / 0.9652 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.7928, allocations: 107.5 kB / 0.9653 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7928, allocations: 3.938 kB / 0.9653 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009159/0.7937, allocations: 356.2 kB / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.7938, allocations: 5.312 kB / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7938, allocations: 0 / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7938, allocations: 1.469 kB / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.7942, allocations: 82.86 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7942, allocations: 0.9688 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.7946, allocations: 45.77 kB / 0.9657 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.7946, allocations: 11.89 kB / 0.9658 GB, free: 15.34 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.7948, allocations: 141.9 kB / 0.9659 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.7949, allocations: 40.73 kB / 0.9659 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.796, allocations: 388 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.796, allocations: 1.875 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.796, allocations: 5.031 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.796, allocations: 7.969 kB / 0.9663 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.7965, allocations: 346.1 kB / 0.9666 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7965, allocations: 0 / 0.9666 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.7968, allocations: 62.78 kB / 0.9667 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7968, allocations: 4.922 kB / 0.9667 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.7968, allocations: 3.156 kB / 0.9667 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7968, allocations: 1.062 kB / 0.9667 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7968, allocations: 0 / 0.9667 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.7976, allocations: 308.1 kB / 0.967 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.7977, allocations: 145.1 kB / 0.9671 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.7978, allocations: 5.984 kB / 0.9671 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.798, allocations: 20.33 kB / 0.9672 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.7981, allocations: 21.81 kB / 0.9672 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.7981, allocations: 9.625 kB / 0.9672 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002594/0.7984, allocations: 251.4 kB / 0.9674 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7984, allocations: 0 / 0.9674 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003886/0.7988, allocations: 103.6 kB / 0.9675 GB, free: 14.02 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/0.799, allocations: 139.2 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007619/0.7998, allocations: 257.7 kB / 0.9679 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7998, allocations: 0.9062 kB / 0.9679 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.8002, allocations: 115.5 kB / 0.968 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006602/0.8008, allocations: 105.4 kB / 0.9681 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.8022, allocations: 0.6772 MB / 0.9688 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.8026, allocations: 0.7736 MB / 0.9695 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.803, allocations: 72.31 kB / 0.9696 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.8031, allocations: 40.56 kB / 0.9697 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of SimCode: time 1.91e-07/0.8031, allocations: 0 / 0.9697 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.01013/0.8132, allocations: 4.938 MB / 0.9745 GB, free: 9.977 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches