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.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.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.001157/0.001157, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.001141/0.001142, allocations: 185 kB / 17.34 MB, free: 5.629 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.364/1.364, 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.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.7962, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.00318/0.7994, allocations: 1.856 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.8007, allocations: 0.7325 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.8008, allocations: 2.188 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.8009, allocations: 13.3 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.8012, allocations: 50.91 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.8014, allocations: 69.67 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.8017, allocations: 135.7 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.8018, allocations: 43.89 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.8019, allocations: 51.28 kB / 1.092 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.8021, allocations: 49.94 kB / 1.092 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.8021, allocations: 8.031 kB / 1.092 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.8022, allocations: 19.2 kB / 1.092 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.8022, allocations: 17.61 kB / 1.092 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.8023, allocations: 47.89 kB / 1.092 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.8025, allocations: 116.5 kB / 1.092 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.8025, allocations: 4.938 kB / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8025, allocations: 0 / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8025, allocations: 0.6094 kB / 1.092 GB, free: 3.688 MB / 0.8575 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.0004899/0.803, allocations: 405.5 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.803, allocations: 10.8 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.8031, allocations: 10.53 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.8033, allocations: 204.5 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.8033, allocations: 3.031 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.8033, allocations: 17.75 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.8036, allocations: 90.89 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8036, allocations: 0.8125 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8036, allocations: 4.812 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8036, allocations: 2.125 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.8039, allocations: 63.69 kB / 1.093 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.8043, allocations: 373.5 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.8045, allocations: 52.75 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.8046, allocations: 25.19 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.8047, allocations: 0.7969 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.8047, allocations: 36.28 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8047, allocations: 0 / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003748/0.8051, allocations: 100.3 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.8051, allocations: 52.56 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.8052, allocations: 158.7 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.8053, allocations: 26.45 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.8053, allocations: 108.8 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.8053, allocations: 19.53 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.8054, allocations: 17.27 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.8054, allocations: 319.8 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.8055, allocations: 26.34 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.8056, allocations: 17.19 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.8058, allocations: 61.84 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8058, allocations: 1.797 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002172/0.806, allocations: 81.33 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.806, allocations: 8.969 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.806, allocations: 0.75 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8061, allocations: 0.8438 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.8062, allocations: 11.36 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.8062, allocations: 5.25 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.8062, allocations: 11.11 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.8063, allocations: 0.8438 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001113/0.8064, allocations: 107.5 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.541e-05/0.8065, allocations: 20.86 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001531/0.8066, allocations: 49.2 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.8066, allocations: 1.422 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002045/0.8068, allocations: 83.83 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.8068, allocations: 5.594 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.8069, allocations: 0.7969 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.8069, allocations: 4.688 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.8069, allocations: 11.31 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-06/0.8069, allocations: 0.75 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.807, allocations: 6.109 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.807, allocations: 5.609 kB / 1.094 GB, free: 1.582 MB / 0.8575 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 4.251e-05/0.8071, allocations: 177.8 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.8071, allocations: 13.14 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.8073, allocations: 86.89 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.8073, allocations: 0.625 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8074, allocations: 0.9062 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8074, allocations: 0 / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.8075, allocations: 193.2 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8075, allocations: 0 / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.8076, allocations: 14.92 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8076, allocations: 3.938 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.8076, allocations: 1.641 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8076, allocations: 0 / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8076, allocations: 1.031 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.8079, allocations: 180.5 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.8079, allocations: 91.31 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.8079, allocations: 4.844 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.808, allocations: 6.297 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.8081, allocations: 6.422 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.8081, allocations: 1.656 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.375e-05/0.8082, allocations: 124.2 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8082, allocations: 0 / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003099/0.8085, allocations: 36.09 kB / 1.095 GB, free: 0.7656 MB / 0.8575 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.000139/0.8086, allocations: 109.8 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.809, allocations: 74.33 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.809, allocations: 0.7188 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.8091, allocations: 22.03 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.8094, allocations: 24.16 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.8098, allocations: 236.5 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.81, allocations: 0.6953 MB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.8101, allocations: 16.47 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.8101, allocations: 0.7188 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.003592/0.8137, allocations: 1.323 MB / 1.098 GB, free: 15.64 MB / 0.8731 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 -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