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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001436, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001664/0.001664, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.597/2.597, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7853, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007321/0.7926, allocations: 5.911 MB / 0.9593 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.96, allocations: 132.4 MB / 1.089 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.9614, allocations: 31.75 kB / 1.089 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.9655, allocations: 1.429 MB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.9683, allocations: 1.04 MB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.971, allocations: 1.034 MB / 1.092 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003671/0.9747, allocations: 2.721 MB / 1.095 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.9759, allocations: 0.9138 MB / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.9779, allocations: 1.288 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.9793, allocations: 1.074 MB / 1.098 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.9796, allocations: 68 kB / 1.098 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.9828, allocations: 1.802 MB / 1.1 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.9851, allocations: 2.853 MB / 1.102 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009791/0.9861, allocations: 0.7841 MB / 1.103 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.9964, allocations: 8.985 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9965, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9965, allocations: 4 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002093/0.9967, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01597/1.013, allocations: 6.752 MB / 1.119 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.013, allocations: 12.03 kB / 1.119 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.016, allocations: 0.6064 MB / 1.119 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8262/1.842, allocations: 255.6 MB / 1.369 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.842, allocations: 138.9 kB / 1.369 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/1.843, allocations: 188 kB / 1.369 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/1.845, allocations: 1.768 MB / 1.371 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/1.845, allocations: 7.938 kB / 1.371 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.845, allocations: 64 kB / 1.371 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/1.845, allocations: 36.52 kB / 1.371 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/1.848, allocations: 1.81 MB / 1.373 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/1.895, allocations: 69.98 MB / 1.441 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/1.897, allocations: 1.588 MB / 1.443 GB, free: 99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.891e-05/1.898, allocations: 37.98 kB / 1.443 GB, free: 98.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/1.899, allocations: 1.018 MB / 1.444 GB, free: 97.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.836e-06/1.899, allocations: 4 kB / 1.444 GB, free: 97.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006809/1.906, allocations: 3.287 MB / 1.447 GB, free: 94.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.906, allocations: 347.3 kB / 1.447 GB, free: 94.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9721/2.878, allocations: 316 MB / 1.756 GB, free: 359 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0005102/2.878, allocations: 65.7 kB / 1.756 GB, free: 359 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00288/2.881, allocations: 2.234 MB / 1.758 GB, free: 356.9 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/2.882, allocations: 377 kB / 1.758 GB, free: 356.7 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/2.882, allocations: 44 kB / 1.758 GB, free: 356.6 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001344/2.882, allocations: 390.4 kB / 1.759 GB, free: 356.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/2.884, allocations: 1.356 MB / 1.76 GB, free: 354.9 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/2.886, allocations: 1.653 MB / 1.762 GB, free: 353.2 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/2.888, allocations: 1.663 MB / 1.763 GB, free: 351.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/2.888, allocations: 3.781 kB / 1.763 GB, free: 351.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008205/2.896, allocations: 3.932 MB / 1.767 GB, free: 347.6 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/2.896, allocations: 167 kB / 1.767 GB, free: 347.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/2.896, allocations: 8 kB / 1.767 GB, free: 347.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/2.897, allocations: 97.67 kB / 1.767 GB, free: 347.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/2.898, allocations: 399.4 kB / 1.768 GB, free: 346.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/2.9, allocations: 1.55 MB / 1.769 GB, free: 345.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004019/2.904, allocations: 0.6425 MB / 1.77 GB, free: 344.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/2.904, allocations: 87.97 kB / 1.77 GB, free: 344.5 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * 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.003495/2.908, allocations: 2.164 MB / 1.772 GB, free: 342.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002538/2.91, allocations: 461.9 kB / 1.773 GB, free: 341.9 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005366/2.916, allocations: 3.042 MB / 1.776 GB, free: 338.8 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/2.916, allocations: 12 kB / 1.776 GB, free: 338.8 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/2.916, allocations: 0 / 1.776 GB, free: 338.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/2.916, allocations: 11.72 kB / 1.776 GB, free: 338.8 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/2.921, allocations: 4.093 MB / 1.78 GB, free: 334.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/2.921, allocations: 0 / 1.78 GB, free: 334.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/2.922, allocations: 190.5 kB / 1.78 GB, free: 334.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/2.923, allocations: 89.52 kB / 1.78 GB, free: 334.4 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/2.923, allocations: 39.97 kB / 1.78 GB, free: 334.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/2.924, allocations: 1.561 MB / 1.781 GB, free: 332.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.924, allocations: 0 / 1.781 GB, free: 332.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/2.929, allocations: 2.686 MB / 1.784 GB, free: 330 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004321/2.934, allocations: 1.794 MB / 1.786 GB, free: 328.1 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.936, allocations: 32 kB / 1.786 GB, free: 328.1 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/2.939, allocations: 435.9 kB / 1.786 GB, free: 327.7 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/2.939, allocations: 92.86 kB / 1.786 GB, free: 327.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/2.939, allocations: 67.92 kB / 1.786 GB, free: 327.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1729/3.112, allocations: 251.6 MB / 2.032 GB, free: 75.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.32e-07/3.112, allocations: 0 / 2.032 GB, free: 75.9 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004851/3.117, allocations: 1.383 MB / 2.034 GB, free: 74.59 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.002391/3.119, allocations: 0.947 MB / 2.034 GB, free: 73.95 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004621/3.124, allocations: 3.974 MB / 2.038 GB, free: 69.95 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/3.124, allocations: 3.938 kB / 2.038 GB, free: 69.95 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/3.126, allocations: 1.736 MB / 2.04 GB, free: 68.2 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/3.13, allocations: 0.5335 MB / 2.041 GB, free: 67.67 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/3.146, allocations: 11.18 MB / 2.051 GB, free: 56.46 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/3.149, allocations: 3.111 MB / 2.054 GB, free: 53.32 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004302/3.153, allocations: 1.681 MB / 2.056 GB, free: 51.63 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002833/3.156, allocations: 0.6709 MB / 2.057 GB, free: 50.96 MB / 1.139 GB Notification: Performance of SimCode: time 1.673e-06/3.156, allocations: 0 / 2.057 GB, free: 50.96 MB / 1.139 GB Notification: Performance of Templates: time 0.8064/3.963, allocations: 166.5 MB / 2.219 GB, free: 320.3 MB / 1.139 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