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.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.001814/0.001814, allocations: 78.02 kB / 19.76 MB, free: 2.027 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.002103/0.002103, allocations: 158.8 kB / 23.01 MB, free: 4.949 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.023/3.023, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [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.0023/0.0023, allocations: 59.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9236/0.9259, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00864/0.9346, allocations: 7.286 MB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2008/1.135, allocations: 140.8 MB / 1.331 GB, free: 1.793 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/1.138, allocations: 51.62 kB / 1.331 GB, free: 1.742 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005525/1.143, allocations: 2.096 MB / 1.333 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003957/1.147, allocations: 1.309 MB / 1.335 GB, free: 14.33 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/1.151, allocations: 1.505 MB / 1.336 GB, free: 12.83 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006522/1.158, allocations: 5.781 MB / 1.342 GB, free: 7.035 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/1.159, allocations: 0.7267 MB / 1.342 GB, free: 6.262 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/1.162, allocations: 1.745 MB / 1.344 GB, free: 4.512 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/1.164, allocations: 1.533 MB / 1.346 GB, free: 2.973 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000477/1.164, allocations: 280 kB / 1.346 GB, free: 2.699 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/1.169, allocations: 2.594 MB / 1.348 GB, free: 104 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002749/1.172, allocations: 2.859 MB / 1.351 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/1.173, allocations: 1.123 MB / 1.352 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007924/1.181, allocations: 5.302 MB / 1.357 GB, free: 6.789 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.181, allocations: 0 / 1.357 GB, free: 6.789 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/1.181, allocations: 0 / 1.357 GB, free: 6.789 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.254e-05/1.181, allocations: 0 / 1.357 GB, free: 6.789 MB / 1.201 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.006063/1.187, allocations: 3.414 MB / 1.361 GB, free: 3.316 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.187, allocations: 8.031 kB / 1.361 GB, free: 3.309 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/1.19, allocations: 454.8 kB / 1.361 GB, free: 2.863 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009336/1.199, allocations: 7.39 MB / 1.368 GB, free: 11.4 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/1.199, allocations: 134.9 kB / 1.369 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/1.2, allocations: 191.9 kB / 1.369 GB, free: 11.08 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/1.203, allocations: 2.162 MB / 1.371 GB, free: 8.773 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.203, allocations: 4 kB / 1.371 GB, free: 8.77 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.203, allocations: 64 kB / 1.371 GB, free: 8.707 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/1.203, allocations: 36 kB / 1.371 GB, free: 8.672 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/1.207, allocations: 1.882 MB / 1.373 GB, free: 6.777 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/1.22, allocations: 9.347 MB / 1.382 GB, free: 13.33 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/1.223, allocations: 1.55 MB / 1.383 GB, free: 11.77 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/1.224, allocations: 0.88 MB / 1.384 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/1.224, allocations: 28.97 kB / 1.384 GB, free: 10.86 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/1.226, allocations: 1.263 MB / 1.386 GB, free: 9.543 MB / 1.232 GB Notification: Performance of pre-optimization done (n=117): time 2.805e-06/1.226, allocations: 0 / 1.386 GB, free: 9.543 MB / 1.232 GB Notification: Performance of matching and sorting (n=117): time 0.006293/1.232, allocations: 3.19 MB / 1.389 GB, free: 6.324 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002457/1.233, allocations: 318.5 kB / 1.389 GB, free: 5.961 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01455/1.247, allocations: 11.53 MB / 1.4 GB, free: 10.39 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/1.248, allocations: 65.7 kB / 1.4 GB, free: 10.32 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.249, allocations: 0.997 MB / 1.401 GB, free: 9.316 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/1.249, allocations: 420.5 kB / 1.402 GB, free: 8.902 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/1.252, allocations: 2.724 MB / 1.404 GB, free: 6.164 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.252, allocations: 301.1 kB / 1.405 GB, free: 5.867 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01975/1.271, allocations: 20.09 MB / 1.424 GB, free: 1.77 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02161/1.293, allocations: 20.81 MB / 1.445 GB, free: 12.87 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02436/1.317, allocations: 23.35 MB / 1.467 GB, free: 5.387 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/1.317, allocations: 0 / 1.467 GB, free: 5.387 MB / 1.311 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05025/1.368, allocations: 44.34 MB / 1.511 GB, free: 8.898 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/1.368, allocations: 134.5 kB / 1.511 GB, free: 8.762 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.368, allocations: 4 kB / 1.511 GB, free: 8.758 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/1.369, allocations: 93.08 kB / 1.511 GB, free: 8.664 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/1.371, allocations: 403.4 kB / 1.511 GB, free: 8.27 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.373, allocations: 1.51 MB / 1.513 GB, free: 6.652 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.376, allocations: 238.4 kB / 1.513 GB, free: 6.418 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/1.376, allocations: 112 kB / 1.513 GB, free: 6.309 MB / 1.357 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): 238 * Array equations: 39 * 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.002924/1.379, allocations: 1.52 MB / 1.515 GB, free: 4.773 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008729/1.38, allocations: 214.5 kB / 1.515 GB, free: 4.562 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/1.386, allocations: 2.728 MB / 1.517 GB, free: 1.812 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.386, allocations: 8 kB / 1.517 GB, free: 1.805 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.386, allocations: 4 kB / 1.517 GB, free: 1.801 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.386, allocations: 11.97 kB / 1.517 GB, free: 1.789 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/1.389, allocations: 1.31 MB / 1.519 GB, free: 452 kB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.389, allocations: 4 kB / 1.519 GB, free: 448 kB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/1.39, allocations: 179.7 kB / 1.519 GB, free: 268 kB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/1.39, allocations: 76.72 kB / 1.519 GB, free: 188 kB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.39, allocations: 43.97 kB / 1.519 GB, free: 144 kB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/1.392, allocations: 1.524 MB / 1.521 GB, free: 14.51 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.392, allocations: 0 / 1.521 GB, free: 14.51 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/1.397, allocations: 2.573 MB / 1.523 GB, free: 11.9 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.399, allocations: 414 kB / 1.523 GB, free: 11.5 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/1.399, allocations: 35.94 kB / 1.523 GB, free: 11.46 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.4, allocations: 74.42 kB / 1.524 GB, free: 11.39 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.4, allocations: 100.8 kB / 1.524 GB, free: 11.29 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.401, allocations: 63.97 kB / 1.524 GB, free: 11.23 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.007731/1.408, allocations: 7.216 MB / 1.531 GB, free: 3.996 MB / 1.373 GB Notification: Performance of sort global known variables: time 2.41e-07/1.408, allocations: 0 / 1.531 GB, free: 3.996 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.003823/1.412, allocations: 1.407 MB / 1.532 GB, free: 2.586 MB / 1.373 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.003671/1.416, allocations: 1.003 MB / 1.533 GB, free: 1.777 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.02717/1.443, allocations: 21.93 MB / 1.555 GB, free: 11.8 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.443, allocations: 7.844 kB / 1.555 GB, free: 11.8 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.002885/1.446, allocations: 1.443 MB / 1.556 GB, free: 10.32 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.449, allocations: 433.6 kB / 1.556 GB, free: 9.918 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.468, allocations: 11.71 MB / 1.568 GB, free: 14.14 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004408/1.472, allocations: 2.483 MB / 1.57 GB, free: 11.61 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.002028/1.474, allocations: 0.5024 MB / 1.571 GB, free: 11.11 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008299/1.475, allocations: 192.4 kB / 1.571 GB, free: 10.92 MB / 1.42 GB Notification: Performance of SimCode: time 9.61e-07/1.475, allocations: 0 / 1.571 GB, free: 10.92 MB / 1.42 GB Notification: Performance of Templates: time 0.09589/1.571, allocations: 48.4 MB / 1.618 GB, free: 10.8 MB / 1.467 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 11.111745262984186]