Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00167/0.00167, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001686/0.001686, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 64.38 kB / 0.9116 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.375, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01119/0.3863, allocations: 8.155 MB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2056/0.5919, allocations: 157.3 MB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.5948, allocations: 31.81 kB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008297/0.6032, allocations: 1.818 MB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.6085, allocations: 1.178 MB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.6136, allocations: 1.305 MB / 1.233 GB, free: 380 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00889/0.6225, allocations: 5.442 MB / 1.239 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.6253, allocations: 1.124 MB / 1.24 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.6294, allocations: 1.745 MB / 1.242 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.6336, allocations: 1.534 MB / 1.243 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.635, allocations: 276 kB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.6424, allocations: 2.333 MB / 1.246 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004576/0.647, allocations: 2.844 MB / 1.248 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.6348/1.282, allocations: 1.399 MB / 1.25 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.294, allocations: 5.098 MB / 1.255 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.294, allocations: 1.656 kB / 1.255 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.775e-06/1.294, allocations: 0.75 kB / 1.255 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001805/1.295, allocations: 0 / 1.255 GB, free: 15.03 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01002/1.305, allocations: 3.388 MB / 1.258 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.305, allocations: 9.344 kB / 1.258 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/1.306, allocations: 362.5 kB / 1.258 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/1.316, allocations: 7.402 MB / 1.266 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/1.316, allocations: 141 kB / 1.266 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/1.317, allocations: 188 kB / 1.266 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003764/1.32, allocations: 1.963 MB / 1.268 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/1.32, allocations: 3.031 kB / 1.268 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/1.32, allocations: 62.62 kB / 1.268 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/1.321, allocations: 36.44 kB / 1.268 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.324, allocations: 1.984 MB / 1.27 GB, free: 12.48 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.01579/1.34, allocations: 10.64 MB / 1.28 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/1.343, allocations: 1.784 MB / 1.282 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.345, allocations: 1.079 MB / 1.283 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.822e-05/1.345, allocations: 41.61 kB / 1.283 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/1.347, allocations: 1.201 MB / 1.284 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.665e-06/1.347, allocations: 0 / 1.284 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006762/1.353, allocations: 3.459 MB / 1.288 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/1.353, allocations: 343.4 kB / 1.288 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/1.368, allocations: 11.59 MB / 1.299 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00082/1.369, allocations: 65.42 kB / 1.299 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/1.37, allocations: 0.9648 MB / 1.3 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/1.371, allocations: 401.8 kB / 1.301 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001991/1.373, allocations: 2.672 MB / 1.303 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/1.373, allocations: 305.2 kB / 1.304 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/1.389, allocations: 20.11 MB / 1.323 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04453/1.434, allocations: 23.43 MB / 1.346 GB, free: 12.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0241/1.458, allocations: 23.57 MB / 1.369 GB, free: 5.148 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/1.458, allocations: 4 kB / 1.369 GB, free: 5.145 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04682/1.505, allocations: 44.22 MB / 1.412 GB, free: 8.934 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/1.505, allocations: 164.2 kB / 1.413 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/1.505, allocations: 4.703 kB / 1.413 GB, free: 8.766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/1.506, allocations: 92.64 kB / 1.413 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.508, allocations: 412.3 kB / 1.413 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/1.51, allocations: 1.655 MB / 1.415 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.512, allocations: 242.4 kB / 1.415 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/1.513, allocations: 113.4 kB / 1.415 GB, free: 6.191 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * 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.002113/1.515, allocations: 1.542 MB / 1.416 GB, free: 4.668 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/1.515, allocations: 210.1 kB / 1.417 GB, free: 4.461 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/1.52, allocations: 2.951 MB / 1.42 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.52, allocations: 15.98 kB / 1.42 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.52, allocations: 0 / 1.42 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.52, allocations: 4.703 kB / 1.42 GB, free: 1.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/1.523, allocations: 1.789 MB / 1.421 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.523, allocations: 0.6562 kB / 1.421 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/1.524, allocations: 190.8 kB / 1.421 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/1.524, allocations: 67.55 kB / 1.422 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.524, allocations: 40.81 kB / 1.422 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/1.526, allocations: 1.659 MB / 1.423 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.526, allocations: 4.812 kB / 1.423 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/1.531, allocations: 2.777 MB / 1.426 GB, free: 10.83 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/1.531, allocations: 497.9 kB / 1.426 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.532, allocations: 33.14 kB / 1.426 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/1.533, allocations: 79.05 kB / 1.427 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.533, allocations: 93.95 kB / 1.427 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.533, allocations: 60.78 kB / 1.427 GB, free: 10.06 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006443/1.539, allocations: 7.27 MB / 1.434 GB, free: 2.777 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.71e-07/1.539, allocations: 0 / 1.434 GB, free: 2.777 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005283/1.545, allocations: 1.383 MB / 1.435 GB, free: 1.402 MB / 1.092 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 (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.002818/1.548, allocations: 0.9534 MB / 1.436 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02699/1.575, allocations: 27.3 MB / 1.463 GB, free: 5.477 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.575, allocations: 0.9375 kB / 1.463 GB, free: 5.477 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002941/1.578, allocations: 1.906 MB / 1.465 GB, free: 3.566 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/1.581, allocations: 448.7 kB / 1.465 GB, free: 3.152 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.599, allocations: 12.51 MB / 1.477 GB, free: 6.766 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003903/1.603, allocations: 3.009 MB / 1.48 GB, free: 3.742 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002281/1.605, allocations: 0.5178 MB / 1.481 GB, free: 3.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/1.606, allocations: 195.4 kB / 1.481 GB, free: 3.043 MB / 1.139 GB Notification: Performance of SimCode: time 9.32e-07/1.606, allocations: 1.094 kB / 1.481 GB, free: 3.043 MB / 1.139 GB Notification: Performance of Templates: time 0.1046/1.711, allocations: 47.52 MB / 1.527 GB, free: 3.941 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches