Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009401/0.0009404, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.332 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.395/2.395, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 11.94 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6478, allocations: 142.4 MB / 0.9557 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.003894/0.6517, allocations: 4.08 MB / 0.9597 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003848/0.6556, allocations: 2.926 MB / 0.9625 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.6561, allocations: 13.56 kB / 0.9625 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.658, allocations: 0.8562 MB / 0.9634 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007519/0.6588, allocations: 326.5 kB / 0.9637 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.6593, allocations: 174.7 kB / 0.9639 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.6605, allocations: 1.146 MB / 0.965 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.661, allocations: 347.2 kB / 0.9653 GB, free: 292 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.6614, allocations: 295.4 kB / 0.9656 GB, free: 140 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.662, allocations: 396.8 kB / 0.966 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.662, allocations: 18.09 kB / 0.966 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.6622, allocations: 43.42 kB / 0.966 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.6624, allocations: 140.8 kB / 0.9662 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.6628, allocations: 400 kB / 0.9665 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.6635, allocations: 0.6945 MB / 0.9672 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6635, allocations: 0.9688 kB / 0.9672 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.083e-06/0.6635, allocations: 0 / 0.9672 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6635, allocations: 0 / 0.9672 GB, free: 15.02 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001678/0.6652, allocations: 1.063 MB / 0.9683 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6652, allocations: 9.031 kB / 0.9683 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6662, allocations: 232.8 kB / 0.9685 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009878/0.6672, allocations: 0.6785 MB / 0.9692 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.6673, allocations: 30.5 kB / 0.9692 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.6674, allocations: 52.97 kB / 0.9692 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.6685, allocations: 479.8 kB / 0.9697 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6685, allocations: 1.344 kB / 0.9697 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.6685, allocations: 14.97 kB / 0.9697 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.6686, allocations: 11.09 kB / 0.9697 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6696, allocations: 404.8 kB / 0.9701 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.6723, allocations: 1.482 MB / 0.9716 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.673, allocations: 285.5 kB / 0.9718 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.6733, allocations: 151.2 kB / 0.972 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.6733, allocations: 3.203 kB / 0.972 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.6733, allocations: 36.95 kB / 0.972 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.6733, allocations: 0 / 0.972 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.002144/0.6755, allocations: 0.6991 MB / 0.9727 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.6756, allocations: 84.39 kB / 0.9728 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.677, allocations: 0.9341 MB / 0.9737 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.6771, allocations: 30.92 kB / 0.9737 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.6774, allocations: 427.8 kB / 0.9741 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.6775, allocations: 95.03 kB / 0.9742 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.6776, allocations: 28.52 kB / 0.9742 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6777, allocations: 321.1 kB / 0.9745 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.6781, allocations: 136.2 kB / 0.9747 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.6786, allocations: 172.1 kB / 0.9748 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.6792, allocations: 281.8 kB / 0.9751 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6793, allocations: 0 / 0.9751 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001324/0.6806, allocations: 0.4993 MB / 0.9756 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.6807, allocations: 95.5 kB / 0.9757 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6807, allocations: 0 / 0.9757 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.6811, allocations: 98.91 kB / 0.9758 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.6815, allocations: 64.83 kB / 0.9758 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.6835, allocations: 1.677 MB / 0.9775 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.6843, allocations: 86.83 kB / 0.9776 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.6843, allocations: 18.75 kB / 0.9776 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.6843, allocations: 2.812 kB / 0.9776 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/0.6854, allocations: 399.2 kB / 0.978 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-06/0.6855, allocations: 1.406 kB / 0.978 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.6858, allocations: 91.16 kB / 0.9781 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.6862, allocations: 67.45 kB / 0.9781 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.6878, allocations: 1.667 MB / 0.9797 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.6884, allocations: 69.55 kB / 0.9798 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6884, allocations: 10.53 kB / 0.9798 GB, free: 5.527 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004741/0.6889, allocations: 346.7 kB / 0.9802 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6891, allocations: 96.31 kB / 0.9802 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6892, allocations: 95.91 kB / 0.9803 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6892, allocations: 2.625 kB / 0.9803 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6892, allocations: 1.062 kB / 0.9803 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6893, allocations: 3.984 kB / 0.9803 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.691, allocations: 1.05 MB / 0.9814 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.691, allocations: 9.484 kB / 0.9814 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.6912, allocations: 43.33 kB / 0.9814 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.6916, allocations: 88.7 kB / 0.9815 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.6916, allocations: 8 kB / 0.9815 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.6932, allocations: 1.644 MB / 0.9831 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6932, allocations: 4.062 kB / 0.9831 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.6941, allocations: 0.5425 MB / 0.9837 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.6944, allocations: 183.9 kB / 0.9838 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.6944, allocations: 11.94 kB / 0.9838 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.6949, allocations: 35.97 kB / 0.9839 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.6949, allocations: 19.97 kB / 0.9839 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.695, allocations: 12 kB / 0.9839 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009688/0.6959, allocations: 0.6727 MB / 0.9846 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6959, allocations: 0 / 0.9846 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007509/0.6967, allocations: 259.5 kB / 0.9848 GB, free: 0.6445 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.6969, allocations: 107.2 kB / 0.9849 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.6986, allocations: 0.7506 MB / 0.9856 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6986, allocations: 0 / 0.9856 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.699, allocations: 272.6 kB / 0.9859 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.7, allocations: 159.3 kB / 0.9861 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.7024, allocations: 1.785 MB / 0.9878 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.703, allocations: 1.032 MB / 0.9888 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.7032, allocations: 47.44 kB / 0.9889 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.7032, allocations: 3.938 kB / 0.9889 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.01689/0.7201, allocations: 13.42 MB / 1.002 GB, free: 14.99 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches