Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 387.1 MB / 399.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 180.1 kB / 492.3 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009642, allocations: 94.77 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.394e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.599/4.896, allocations: 1.763 GB / 2.975 GB, free: 101.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/4.896, allocations: 101.9 kB / 2.975 GB, free: 101.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.336/6.232, allocations: 197.9 MB / 3.168 GB, free: 350.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.166e-06/6.232, allocations: 0 / 3.168 GB, free: 350.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001269/6.234, allocations: 86.56 kB / 3.168 GB, free: 350.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.0404/6.274, allocations: 4.004 MB / 3.172 GB, free: 347.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/6.274, allocations: 11.62 kB / 3.172 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02682/6.301, allocations: 0.6012 MB / 3.173 GB, free: 347.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3689/6.67, allocations: 291.6 MB / 3.458 GB, free: 61.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/6.67, allocations: 126.6 kB / 3.458 GB, free: 61.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/6.671, allocations: 176 kB / 3.458 GB, free: 61.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/6.674, allocations: 1.769 MB / 3.46 GB, free: 59.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/6.674, allocations: 0 / 3.46 GB, free: 59.46 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/6.674, allocations: 60 kB / 3.46 GB, free: 59.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/6.674, allocations: 32 kB / 3.46 GB, free: 59.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/6.676, allocations: 1.81 MB / 3.461 GB, free: 57.57 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.579/8.255, allocations: 259 MB / 3.714 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/8.258, allocations: 1.425 MB / 3.716 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/8.259, allocations: 0.7907 MB / 3.717 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/8.259, allocations: 46.16 kB / 3.717 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/8.26, allocations: 0.9016 MB / 3.718 GB, free: 227.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 2.485e-06/8.26, allocations: 0 / 3.718 GB, free: 227.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=105): time 0.02688/8.287, allocations: 2.174 MB / 3.72 GB, free: 225.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/8.287, allocations: 394.1 kB / 3.72 GB, free: 224.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.582/9.869, allocations: 321 MB / 4.034 GB, free: 356.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007144/9.869, allocations: 65.7 kB / 4.034 GB, free: 356.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003346/9.873, allocations: 2.161 MB / 4.036 GB, free: 354.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/9.873, allocations: 356.9 kB / 4.036 GB, free: 354.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/9.873, allocations: 36 kB / 4.036 GB, free: 354.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001555/9.874, allocations: 383.3 kB / 4.036 GB, free: 354.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/9.875, allocations: 1.272 MB / 4.038 GB, free: 353.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/9.877, allocations: 1.601 MB / 4.039 GB, free: 351.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/9.879, allocations: 1.6 MB / 4.041 GB, free: 350.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/9.879, allocations: 0 / 4.041 GB, free: 350.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02983/9.909, allocations: 3.783 MB / 4.044 GB, free: 346.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/9.909, allocations: 164.1 kB / 4.045 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/9.909, allocations: 8 kB / 4.045 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/9.91, allocations: 93.56 kB / 4.045 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/9.912, allocations: 371.2 kB / 4.045 GB, free: 346.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/9.913, allocations: 1.534 MB / 4.047 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02201/9.935, allocations: 0.5619 MB / 4.047 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008401/9.936, allocations: 115.9 kB / 4.047 GB, free: 344 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/9.937, allocations: 361.1 kB / 4.048 GB, free: 343.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02273/9.96, allocations: 462.1 kB / 4.048 GB, free: 343.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/9.966, allocations: 2.849 MB / 4.051 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/9.966, allocations: 14.31 kB / 4.051 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/9.966, allocations: 1.594 kB / 4.051 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/9.966, allocations: 9.844 kB / 4.051 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1677/10.13, allocations: 127 MB / 4.175 GB, free: 233.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/10.13, allocations: 0 / 4.175 GB, free: 233.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/10.13, allocations: 177.6 kB / 4.175 GB, free: 233.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005691/10.14, allocations: 85.17 kB / 4.175 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/10.14, allocations: 44.52 kB / 4.175 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/10.14, allocations: 1.546 MB / 4.177 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/10.14, allocations: 3.984 kB / 4.177 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02707/10.16, allocations: 2.575 MB / 4.179 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.105/10.27, allocations: 64 MB / 4.242 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02686/10.3, allocations: 44 kB / 4.242 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02368/10.32, allocations: 430.7 kB / 4.242 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/10.32, allocations: 84.45 kB / 4.242 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/10.32, allocations: 78.66 kB / 4.242 GB, free: 164.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 1.049/11.37, allocations: 235.3 MB / 4.472 GB, free: 340.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.41e-07/11.37, allocations: 0 / 4.472 GB, free: 340.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04237/11.41, allocations: 16.37 MB / 4.488 GB, free: 339.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006323/11.42, allocations: 1.797 MB / 4.49 GB, free: 338.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005299/11.42, allocations: 3.831 MB / 4.494 GB, free: 334.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/11.42, allocations: 4 kB / 4.494 GB, free: 334.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/11.43, allocations: 1.678 MB / 4.495 GB, free: 333.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02325/11.45, allocations: 0.5434 MB / 4.496 GB, free: 332.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/11.47, allocations: 8.414 MB / 4.504 GB, free: 324.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/11.47, allocations: 3.056 MB / 4.507 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04419/11.51, allocations: 32.74 MB / 4.539 GB, free: 290.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05768/11.57, allocations: 9.841 MB / 4.549 GB, free: 284.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.084e-06/11.57, allocations: 6.062 kB / 4.549 GB, free: 284.7 MB / 1.167 GB Notification: Performance of Templates: time 4.497/16.07, allocations: 1.497 GB / 6.046 GB, free: 34.05 MB / 1.292 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches