Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 157.1 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.826/2.826, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 71.83 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9436/0.9459, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006331/0.9523, allocations: 6.239 MB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1806/1.133, allocations: 137 MB / 1.294 GB, free: 1.027 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/1.134, allocations: 33.44 kB / 1.294 GB, free: 1.012 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005863/1.14, allocations: 1.896 MB / 1.296 GB, free: 256 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003275/1.143, allocations: 0.918 MB / 1.297 GB, free: 15.69 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/1.146, allocations: 1.011 MB / 1.298 GB, free: 15.15 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003781/1.15, allocations: 2.666 MB / 1.3 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/1.151, allocations: 0.6207 MB / 1.301 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/1.153, allocations: 0.9485 MB / 1.302 GB, free: 12.63 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/1.155, allocations: 0.8792 MB / 1.303 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005209/1.156, allocations: 185.6 kB / 1.303 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/1.161, allocations: 2.512 MB / 1.305 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/1.163, allocations: 1.158 MB / 1.306 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/1.165, allocations: 0.766 MB / 1.307 GB, free: 9.551 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007909/1.172, allocations: 3.873 MB / 1.311 GB, free: 6.957 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.172, allocations: 4 kB / 1.311 GB, free: 6.953 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.744e-06/1.172, allocations: 0 / 1.311 GB, free: 6.953 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.602e-05/1.173, allocations: 0.9688 kB / 1.311 GB, free: 6.953 MB / 1.154 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.006216/1.179, allocations: 2.406 MB / 1.313 GB, free: 5.168 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.179, allocations: 8.656 kB / 1.313 GB, free: 5.168 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/1.181, allocations: 356.2 kB / 1.314 GB, free: 5 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/1.187, allocations: 2.875 MB / 1.316 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.187, allocations: 106.5 kB / 1.316 GB, free: 2.188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/1.187, allocations: 135.9 kB / 1.317 GB, free: 2.055 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.19, allocations: 1.611 MB / 1.318 GB, free: 328 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/1.19, allocations: 4 kB / 1.318 GB, free: 324 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/1.19, allocations: 55.98 kB / 1.318 GB, free: 268 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/1.19, allocations: 28 kB / 1.318 GB, free: 240 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/1.194, allocations: 1.454 MB / 1.32 GB, free: 14.77 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/1.207, allocations: 4.506 MB / 1.324 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/1.211, allocations: 1.055 MB / 1.325 GB, free: 9.148 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.212, allocations: 411.7 kB / 1.325 GB, free: 8.746 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/1.212, allocations: 28.97 kB / 1.325 GB, free: 8.719 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/1.214, allocations: 0.7573 MB / 1.326 GB, free: 7.914 MB / 1.17 GB Notification: Performance of pre-optimization done (n=100): time 4.629e-06/1.214, allocations: 0 / 1.326 GB, free: 7.914 MB / 1.17 GB Notification: Performance of matching and sorting (n=100): time 0.00724/1.222, allocations: 1.582 MB / 1.328 GB, free: 6.328 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/1.222, allocations: 196.9 kB / 1.328 GB, free: 6.09 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.232, allocations: 4.039 MB / 1.332 GB, free: 2.039 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003834/1.232, allocations: 45.7 kB / 1.332 GB, free: 1.988 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.234, allocations: 0.6849 MB / 1.333 GB, free: 1.293 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006359/1.234, allocations: 345.1 kB / 1.333 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/1.236, allocations: 0.9682 MB / 1.334 GB, free: 15.97 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002512/1.236, allocations: 305.1 kB / 1.334 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01207/1.248, allocations: 6.331 MB / 1.34 GB, free: 9.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/1.262, allocations: 6.711 MB / 1.347 GB, free: 2.574 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.278, allocations: 7.51 MB / 1.354 GB, free: 11.01 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/1.278, allocations: 0 / 1.354 GB, free: 11.01 MB / 1.201 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.03094/1.309, allocations: 14.25 MB / 1.368 GB, free: 12.7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.309, allocations: 8 kB / 1.368 GB, free: 12.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.309, allocations: 3.938 kB / 1.368 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.31, allocations: 80.84 kB / 1.368 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/1.312, allocations: 247.7 kB / 1.369 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/1.316, allocations: 1.504 MB / 1.37 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.318, allocations: 137.3 kB / 1.37 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/1.319, allocations: 55.97 kB / 1.37 GB, free: 10.57 MB / 1.217 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): 145 * Array equations: 13 * 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.001952/1.321, allocations: 0.6205 MB / 1.371 GB, free: 9.938 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007507/1.321, allocations: 139.1 kB / 1.371 GB, free: 9.801 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006587/1.328, allocations: 1.473 MB / 1.372 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/1.328, allocations: 12 kB / 1.372 GB, free: 8.293 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.328, allocations: 0 / 1.372 GB, free: 8.293 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/1.328, allocations: 3.984 kB / 1.372 GB, free: 8.289 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/1.331, allocations: 0.9572 MB / 1.373 GB, free: 7.305 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.331, allocations: 0 / 1.373 GB, free: 7.305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.333, allocations: 183.7 kB / 1.373 GB, free: 7.125 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007911/1.334, allocations: 68.78 kB / 1.374 GB, free: 7.055 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.334, allocations: 39.92 kB / 1.374 GB, free: 7.016 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/1.337, allocations: 1.52 MB / 1.375 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.337, allocations: 0 / 1.375 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/1.343, allocations: 1.275 MB / 1.376 GB, free: 4.098 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.344, allocations: 278.7 kB / 1.377 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005425/1.344, allocations: 20 kB / 1.377 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.346, allocations: 71.92 kB / 1.377 GB, free: 3.734 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/1.347, allocations: 92.77 kB / 1.377 GB, free: 3.645 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.347, allocations: 47.97 kB / 1.377 GB, free: 3.598 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.005429/1.352, allocations: 2.589 MB / 1.379 GB, free: 1.004 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.21e-07/1.352, allocations: 0 / 1.379 GB, free: 1.004 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005226/1.357, allocations: 1.048 MB / 1.38 GB, free: 15.95 MB / 1.232 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.006351/1.364, allocations: 0.9947 MB / 1.381 GB, free: 15.16 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01602/1.38, allocations: 7.099 MB / 1.388 GB, free: 8.047 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.38, allocations: 0 / 1.388 GB, free: 8.047 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/1.382, allocations: 0.6331 MB / 1.389 GB, free: 7.398 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/1.385, allocations: 336.6 kB / 1.389 GB, free: 7.09 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.396, allocations: 5.052 MB / 1.394 GB, free: 2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.398, allocations: 1.145 MB / 1.395 GB, free: 0.8242 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00137/1.399, allocations: 393.8 kB / 1.396 GB, free: 448 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/1.4, allocations: 152.4 kB / 1.396 GB, free: 296 kB / 1.232 GB Notification: Performance of SimCode: time 1.041e-06/1.4, allocations: 0 / 1.396 GB, free: 296 kB / 1.232 GB Notification: Performance of Templates: time 0.05578/1.455, allocations: 29.66 MB / 1.425 GB, free: 2.926 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.640641495003365]