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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 496.2 MB / 0.7819 GB, free: 12.37 MB / 0.6231 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 75.88 kB / 1.136 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 173.6 MB / 1.305 GB, free: 33.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009092/1.122, allocations: 8.302 MB / 1.314 GB, free: 27.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2127/1.335, allocations: 160.1 MB / 1.47 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/1.337, allocations: 42.88 kB / 1.47 GB, free: 7.438 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006723/1.344, allocations: 2.014 MB / 1.472 GB, free: 6.562 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004189/1.348, allocations: 1.301 MB / 1.473 GB, free: 5.656 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004654/1.353, allocations: 1.47 MB / 1.475 GB, free: 4.527 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008051/1.361, allocations: 5.413 MB / 1.48 GB, free: 1.176 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/1.363, allocations: 0.7551 MB / 1.481 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/1.367, allocations: 1.7 MB / 1.482 GB, free: 15.62 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/1.37, allocations: 1.604 MB / 1.484 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/1.371, allocations: 276.7 kB / 1.484 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/1.377, allocations: 2.441 MB / 1.487 GB, free: 13.34 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004277/1.382, allocations: 2.85 MB / 1.489 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.004218/1.386, allocations: 1.391 MB / 1.491 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/1.398, allocations: 5.216 MB / 1.496 GB, free: 5.492 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.398, allocations: 0 / 1.496 GB, free: 5.492 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.415e-06/1.398, allocations: 4 kB / 1.496 GB, free: 5.488 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001591/1.398, allocations: 0 / 1.496 GB, free: 5.488 MB / 1.17 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.00786/1.406, allocations: 3.481 MB / 1.499 GB, free: 1.926 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.406, allocations: 12.03 kB / 1.499 GB, free: 1.914 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/1.407, allocations: 378.9 kB / 1.5 GB, free: 1.543 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009623/1.417, allocations: 7.462 MB / 1.507 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/1.417, allocations: 134.9 kB / 1.507 GB, free: 9.875 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/1.418, allocations: 188 kB / 1.507 GB, free: 9.691 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/1.421, allocations: 1.96 MB / 1.509 GB, free: 7.652 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/1.421, allocations: 4 kB / 1.509 GB, free: 7.648 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/1.421, allocations: 68 kB / 1.509 GB, free: 7.582 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/1.422, allocations: 36 kB / 1.509 GB, free: 7.547 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/1.425, allocations: 1.982 MB / 1.511 GB, free: 5.559 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/1.442, allocations: 10.69 MB / 1.522 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/1.445, allocations: 1.586 MB / 1.523 GB, free: 9.023 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/1.447, allocations: 0.9057 MB / 1.524 GB, free: 8.117 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.447, allocations: 41.08 kB / 1.524 GB, free: 8.074 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/1.449, allocations: 1.188 MB / 1.525 GB, free: 6.871 MB / 1.201 GB Notification: Performance of pre-optimization done (n=117): time 3.096e-06/1.449, allocations: 4 kB / 1.525 GB, free: 6.867 MB / 1.201 GB Notification: Performance of matching and sorting (n=117): time 0.007082/1.456, allocations: 3.492 MB / 1.529 GB, free: 3.34 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003015/1.456, allocations: 350.5 kB / 1.529 GB, free: 2.949 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/1.473, allocations: 11.59 MB / 1.54 GB, free: 7.328 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005121/1.474, allocations: 65.7 kB / 1.54 GB, free: 7.258 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.475, allocations: 0.9781 MB / 1.541 GB, free: 6.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006344/1.476, allocations: 416.6 kB / 1.542 GB, free: 5.859 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002889/1.479, allocations: 2.72 MB / 1.544 GB, free: 3.125 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.479, allocations: 305.1 kB / 1.545 GB, free: 2.824 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02136/1.5, allocations: 20.12 MB / 1.564 GB, free: 14.7 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02261/1.523, allocations: 20.7 MB / 1.584 GB, free: 9.949 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02596/1.549, allocations: 23.56 MB / 1.607 GB, free: 2.258 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.549, allocations: 4 kB / 1.607 GB, free: 2.254 MB / 1.279 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05374/1.603, allocations: 44.29 MB / 1.651 GB, free: 5.824 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/1.603, allocations: 165.6 kB / 1.651 GB, free: 5.656 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.603, allocations: 4 kB / 1.651 GB, free: 5.652 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/1.604, allocations: 93.08 kB / 1.651 GB, free: 5.559 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/1.605, allocations: 407.3 kB / 1.651 GB, free: 5.16 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/1.608, allocations: 1.634 MB / 1.653 GB, free: 3.383 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.611, allocations: 246.2 kB / 1.653 GB, free: 3.141 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/1.611, allocations: 107.9 kB / 1.653 GB, free: 3.035 MB / 1.326 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.002297/1.613, allocations: 1.544 MB / 1.655 GB, free: 1.477 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/1.614, allocations: 226.4 kB / 1.655 GB, free: 1.254 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/1.619, allocations: 2.961 MB / 1.658 GB, free: 14.27 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.619, allocations: 19.98 kB / 1.658 GB, free: 14.25 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.619, allocations: 0 / 1.658 GB, free: 14.25 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.619, allocations: 3.984 kB / 1.658 GB, free: 14.24 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/1.622, allocations: 1.79 MB / 1.66 GB, free: 12.4 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.622, allocations: 3.938 kB / 1.66 GB, free: 12.4 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/1.623, allocations: 187.7 kB / 1.66 GB, free: 12.21 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/1.623, allocations: 72.8 kB / 1.66 GB, free: 12.14 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.623, allocations: 39.97 kB / 1.66 GB, free: 12.1 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/1.626, allocations: 1.658 MB / 1.662 GB, free: 10.29 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.626, allocations: 0 / 1.662 GB, free: 10.29 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004892/1.631, allocations: 2.817 MB / 1.664 GB, free: 7.445 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.632, allocations: 499.2 kB / 1.665 GB, free: 6.938 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/1.632, allocations: 36.05 kB / 1.665 GB, free: 6.902 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/1.633, allocations: 81.48 kB / 1.665 GB, free: 6.824 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/1.633, allocations: 92.88 kB / 1.665 GB, free: 6.73 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.633, allocations: 63.91 kB / 1.665 GB, free: 6.668 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.008159/1.641, allocations: 7.269 MB / 1.672 GB, free: 15.38 MB / 1.357 GB Notification: Performance of sort global known variables: time 4.01e-07/1.641, allocations: 0 / 1.672 GB, free: 15.38 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.005008/1.646, allocations: 1.4 MB / 1.674 GB, free: 13.98 MB / 1.357 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.003614/1.65, allocations: 0.9562 MB / 1.674 GB, free: 13.2 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.02614/1.676, allocations: 22.03 MB / 1.696 GB, free: 7.141 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.676, allocations: 4 kB / 1.696 GB, free: 7.137 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.679, allocations: 1.531 MB / 1.697 GB, free: 5.574 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.682, allocations: 448 kB / 1.698 GB, free: 5.152 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.701, allocations: 11.5 MB / 1.709 GB, free: 9.605 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004215/1.705, allocations: 3.009 MB / 1.712 GB, free: 6.566 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.002019/1.707, allocations: 0.5147 MB / 1.713 GB, free: 6.047 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.708, allocations: 191.4 kB / 1.713 GB, free: 5.859 MB / 1.389 GB Notification: Performance of SimCode: time 2.174e-06/1.708, allocations: 0 / 1.713 GB, free: 5.859 MB / 1.389 GB Notification: Performance of Templates: time 0.09892/1.807, allocations: 49.63 MB / 1.761 GB, free: 4.445 MB / 1.436 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.647064031101763]