Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 108 kB / 15.61 MB, free: 152 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.0019/0.0019, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.08 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.34, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009169/0.3492, allocations: 6.957 MB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.5249, allocations: 155.4 MB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.5265, allocations: 23.88 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005481/0.5321, allocations: 1.801 MB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.5354, allocations: 0.897 MB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.5382, allocations: 0.9774 MB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003955/0.5422, allocations: 2.569 MB / 1.233 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.5437, allocations: 0.9454 MB / 1.234 GB, free: 124 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.5453, allocations: 0.9033 MB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.5465, allocations: 0.9221 MB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.5468, allocations: 187.9 kB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.5508, allocations: 2.231 MB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.5518, allocations: 1.146 MB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.5529, allocations: 0.9444 MB / 1.24 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005655/0.5585, allocations: 3.724 MB / 1.244 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.5586, allocations: 7.938 kB / 1.244 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5586, allocations: 0 / 1.244 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.5586, allocations: 0 / 1.244 GB, free: 6.031 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004425/0.5631, allocations: 2.375 MB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5631, allocations: 12.03 kB / 1.246 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5642, allocations: 262.4 kB / 1.246 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.5673, allocations: 2.908 MB / 1.249 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/0.5674, allocations: 102.5 kB / 1.249 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.5676, allocations: 132 kB / 1.249 GB, free: 136 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6744/1.242, allocations: 1.355 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/1.242, allocations: 0.7188 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.242, allocations: 51.62 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/1.242, allocations: 31.22 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/1.245, allocations: 1.5 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00804/1.253, allocations: 5.618 MB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/1.255, allocations: 1.121 MB / 1.259 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/1.256, allocations: 446.2 kB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/1.256, allocations: 34.53 kB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.257, allocations: 0.6526 MB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.796e-06/1.257, allocations: 2.625 kB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.0039/1.261, allocations: 1.658 MB / 1.261 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/1.261, allocations: 198.9 kB / 1.262 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/1.266, allocations: 4.097 MB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/1.266, allocations: 55.45 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/1.267, allocations: 0.6497 MB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/1.267, allocations: 331.7 kB / 1.267 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/1.268, allocations: 0.9481 MB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/1.268, allocations: 302.5 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006761/1.275, allocations: 6.34 MB / 1.274 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007114/1.282, allocations: 6.579 MB / 1.28 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/1.291, allocations: 7.471 MB / 1.288 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.291, allocations: 1.875 kB / 1.288 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01216/1.303, allocations: 14.16 MB / 1.302 GB, free: 158 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.303, allocations: 8.594 kB / 1.302 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.303, allocations: 0 / 1.302 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/1.304, allocations: 88.12 kB / 1.302 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.305, allocations: 247 kB / 1.302 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/1.307, allocations: 1.644 MB / 1.304 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.308, allocations: 139.8 kB / 1.304 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.308, allocations: 61.78 kB / 1.304 GB, free: 155.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 146 * Array equations: 12 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008844/1.309, allocations: 0.6247 MB / 1.304 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/1.309, allocations: 139 kB / 1.304 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/1.312, allocations: 1.478 MB / 1.306 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.312, allocations: 12.66 kB / 1.306 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.312, allocations: 2.188 kB / 1.306 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.312, allocations: 9.453 kB / 1.306 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/1.314, allocations: 1.309 MB / 1.307 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.314, allocations: 0 / 1.307 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/1.314, allocations: 182.2 kB / 1.307 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/1.315, allocations: 79.59 kB / 1.307 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.315, allocations: 32.52 kB / 1.307 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/1.317, allocations: 1.656 MB / 1.309 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.317, allocations: 32 / 1.309 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.319, allocations: 1.28 MB / 1.31 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/1.319, allocations: 356.3 kB / 1.311 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.319, allocations: 27.94 kB / 1.311 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007415/1.32, allocations: 74.78 kB / 1.311 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.32, allocations: 87.64 kB / 1.311 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/1.32, allocations: 47.78 kB / 1.311 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00178/1.322, allocations: 2.635 MB / 1.313 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.322, allocations: 0 / 1.313 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002085/1.324, allocations: 1.009 MB / 1.314 GB, free: 145.8 MB / 0.9981 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/1.326, allocations: 0.9584 MB / 1.315 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00741/1.334, allocations: 8.68 MB / 1.324 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.334, allocations: 0 / 1.324 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.335, allocations: 0.668 MB / 1.325 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/1.337, allocations: 364.2 kB / 1.325 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/1.342, allocations: 4.844 MB / 1.33 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/1.343, allocations: 1.723 MB / 1.331 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001212/1.344, allocations: 390.6 kB / 1.332 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/1.345, allocations: 147.3 kB / 1.332 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.345, allocations: 0 / 1.332 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04631/1.391, allocations: 29.81 MB / 1.361 GB, free: 98.79 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches