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.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.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.001342/0.001342, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001313/0.001313, allocations: 188 kB / 17.2 MB, free: 5.938 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.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.167/2.167, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 61.31 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.261, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.005268/0.2663, allocations: 2.709 MB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.2695, allocations: 1.757 MB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.2699, allocations: 11.94 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.27, allocations: 43.52 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.2707, allocations: 154.8 kB / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009635/0.2716, allocations: 382.8 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.2722, allocations: 486.5 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.2724, allocations: 145.4 kB / 0.9558 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.2726, allocations: 171.4 kB / 0.9559 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2729, allocations: 187.1 kB / 0.9561 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.2729, allocations: 35.94 kB / 0.9562 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.2736, allocations: 447.5 kB / 0.9566 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.2736, allocations: 71.75 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2738, allocations: 194.9 kB / 0.9568 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.2744, allocations: 0.5296 MB / 0.9574 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2744, allocations: 0 / 0.9574 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2744, allocations: 4 kB / 0.9574 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.2744, allocations: 0 / 0.9574 GB, free: 1.547 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00104/0.2755, allocations: 0.7054 MB / 0.9581 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2755, allocations: 8.031 kB / 0.9581 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008516/0.2764, allocations: 116.2 kB / 0.9582 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.2767, allocations: 307.4 kB / 0.9585 GB, free: 332 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2767, allocations: 25.03 kB / 0.9585 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.2768, allocations: 36.36 kB / 0.9585 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.2776, allocations: 314.3 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2776, allocations: 0 / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.2776, allocations: 8 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2776, allocations: 15.92 kB / 0.9588 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.2785, allocations: 290.4 kB / 0.9591 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.28, allocations: 0.9007 MB / 0.96 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009085/0.2809, allocations: 299.5 kB / 0.9603 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.2813, allocations: 124.8 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.2816, allocations: 101.5 kB / 0.9605 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2816, allocations: 30.56 kB / 0.9605 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.2816, allocations: 0 / 0.9605 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001304/0.283, allocations: 388.5 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.283, allocations: 55.52 kB / 0.961 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.2834, allocations: 357.4 kB / 0.9613 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.2835, allocations: 29.7 kB / 0.9613 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2836, allocations: 184.6 kB / 0.9615 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.2837, allocations: 78.81 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2838, allocations: 61.95 kB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2839, allocations: 346.8 kB / 0.962 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.2843, allocations: 100.5 kB / 0.9621 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.2847, allocations: 105 kB / 0.9622 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.2854, allocations: 242.2 kB / 0.9624 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2854, allocations: 4 kB / 0.9624 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009338/0.2863, allocations: 325 kB / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2864, allocations: 8 kB / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2864, allocations: 0 / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2864, allocations: 0 / 0.9627 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.2868, allocations: 75.88 kB / 0.9628 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2868, allocations: 7.938 kB / 0.9628 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.2871, allocations: 47.59 kB / 0.9628 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.2872, allocations: 15.98 kB / 0.9629 GB, free: 11.67 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.2873, allocations: 137.8 kB / 0.963 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.2875, allocations: 39.53 kB / 0.963 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009935/0.2885, allocations: 366.5 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2885, allocations: 4 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2885, allocations: 4 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2885, allocations: 0 / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2889, allocations: 357.2 kB / 0.9637 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2889, allocations: 0 / 0.9637 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.2892, allocations: 59.88 kB / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2892, allocations: 0 / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.2893, allocations: 11.98 kB / 0.9638 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2893, allocations: 4 kB / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2893, allocations: 0 / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.2901, allocations: 296.4 kB / 0.9641 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2902, allocations: 136.6 kB / 0.9642 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.2903, allocations: 4 kB / 0.9642 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.2906, allocations: 23.97 kB / 0.9642 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2906, allocations: 11.92 kB / 0.9642 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2906, allocations: 15.98 kB / 0.9643 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002457/0.2909, allocations: 255.1 kB / 0.9645 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2909, allocations: 3.938 kB / 0.9645 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003554/0.2913, allocations: 95.84 kB / 0.9646 GB, free: 9.77 MB / 0.7481 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 (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.0002224/0.2915, allocations: 131.2 kB / 0.9647 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.2923, allocations: 251.7 kB / 0.965 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2924, allocations: 0 / 0.965 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.2927, allocations: 117.4 kB / 0.9651 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.2933, allocations: 120.9 kB / 0.9652 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2947, allocations: 0.6166 MB / 0.9658 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.295, allocations: 0.7717 MB / 0.9665 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.2952, allocations: 43.39 kB / 0.9666 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.2952, allocations: 0 / 0.9666 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of Templates: time 0.007626/0.3028, allocations: 5.082 MB / 0.9716 GB, free: 2.609 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches