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.002336/0.002336, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.002519/0.002519, allocations: 191 kB / 17.29 MB, free: 5.516 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 14.99 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.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 61.56 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003661/0.3169, allocations: 1.843 MB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3182, allocations: 0.7246 MB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.3183, allocations: 0 / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.04e-05/0.3184, allocations: 15.86 kB / 0.9537 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.3187, allocations: 51.61 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3189, allocations: 71.78 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.3192, allocations: 131.4 kB / 0.9539 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3194, allocations: 45.36 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.3194, allocations: 39.86 kB / 0.954 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3196, allocations: 55.77 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3196, allocations: 8 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.3197, allocations: 23.98 kB / 0.9541 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3198, allocations: 15.92 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.3198, allocations: 47.75 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.32, allocations: 115.6 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.32, allocations: 7.938 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.32, allocations: 0 / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.32, allocations: 0 / 0.9542 GB, free: 4.844 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.0006066/0.3207, allocations: 414.9 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3207, allocations: 8.031 kB / 0.9546 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3208, allocations: 12.84 kB / 0.9547 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.321, allocations: 196.2 kB / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.321, allocations: 8.281 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.321, allocations: 12.38 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.3213, allocations: 101.9 kB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3213, allocations: 0 / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3213, allocations: 0 / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3213, allocations: 4 kB / 0.955 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.3215, allocations: 59.95 kB / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.3221, allocations: 372.5 kB / 0.9554 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3223, allocations: 50.55 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.3224, allocations: 24.91 kB / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3224, allocations: 3.938 kB / 0.9555 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/0.3225, allocations: 34.56 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3225, allocations: 4 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003551/0.3229, allocations: 97.48 kB / 0.9556 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3229, allocations: 55.39 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3231, allocations: 148.7 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3232, allocations: 25.7 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.3232, allocations: 116 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.3233, allocations: 7.906 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3233, allocations: 21.7 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3235, allocations: 322.8 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.3236, allocations: 28.83 kB / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.3237, allocations: 23.92 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3238, allocations: 52.81 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3238, allocations: 0 / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002065/0.3241, allocations: 81.56 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3241, allocations: 7.938 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3241, allocations: 0 / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3241, allocations: 4 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.3242, allocations: 12.31 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3242, allocations: 0 / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.3243, allocations: 15.89 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3243, allocations: 3.938 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001377/0.3244, allocations: 110.1 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.207e-05/0.3245, allocations: 31.95 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001374/0.3247, allocations: 40.83 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.3247, allocations: 0 / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0001971/0.3249, allocations: 85.56 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.3249, allocations: 7.938 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.3249, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.3249, allocations: 7.938 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.325, allocations: 11.98 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-06/0.325, allocations: 3.938 kB / 0.9568 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.325, allocations: 11.92 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-06/0.3251, allocations: 0 / 0.9568 GB, free: 2.012 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 0.0001813/0.3252, allocations: 180.3 kB / 0.9569 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.3253, allocations: 19.84 kB / 0.957 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.3256, allocations: 77.89 kB / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3256, allocations: 0 / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3256, allocations: 0 / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3256, allocations: 0 / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3258, allocations: 185.6 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3258, allocations: 4 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.3259, allocations: 8 kB / 0.9572 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3259, allocations: 7.922 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3259, allocations: 11.94 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3259, allocations: 3.938 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3259, allocations: 3.984 kB / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.3263, allocations: 171.4 kB / 0.9574 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.3263, allocations: 85.02 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3264, allocations: 11.92 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.3265, allocations: 4 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3265, allocations: 7.984 kB / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3265, allocations: 4 kB / 0.9575 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001116/0.3266, allocations: 113.3 kB / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3266, allocations: 0 / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000296/0.3269, allocations: 35.84 kB / 0.9577 GB, free: 1 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.0001705/0.3271, allocations: 107.2 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.3274, allocations: 75.88 kB / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3274, allocations: 0 / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3275, allocations: 23.97 kB / 0.9579 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3279, allocations: 26.22 kB / 0.9579 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.3284, allocations: 217.1 kB / 0.9581 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3287, allocations: 0.6963 MB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.536e-05/0.3288, allocations: 16.41 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.3288, allocations: 11.44 kB / 0.9588 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3288, allocations: 4 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.004374/0.3332, allocations: 1.329 MB / 0.9601 GB, free: 14.46 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 cvode -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