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.001586/0.001586, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001808/0.001808, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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 3.306/3.306, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 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.002132/0.002132, allocations: 68.55 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009219/0.3663, allocations: 6.233 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1982/0.5645, allocations: 137 MB / 1.465 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.5664, allocations: 35.75 kB / 1.465 GB, free: 2.168 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.007913/0.5743, allocations: 1.895 MB / 1.467 GB, free: 272 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.5792, allocations: 0.9131 MB / 1.468 GB, free: 15.35 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.5836, allocations: 1.017 MB / 1.469 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005687/0.5892, allocations: 2.664 MB / 1.472 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.5916, allocations: 0.6222 MB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.5941, allocations: 0.9462 MB / 1.473 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.5966, allocations: 0.875 MB / 1.474 GB, free: 9.168 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007302/0.5973, allocations: 188 kB / 1.474 GB, free: 8.984 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0071/0.6044, allocations: 2.512 MB / 1.477 GB, free: 6.469 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.6066, allocations: 1.162 MB / 1.478 GB, free: 5.305 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.6084, allocations: 0.7775 MB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009476/0.6178, allocations: 3.866 MB / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.6178, allocations: 0 / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of FrontEnd: time 5.28e-06/0.6178, allocations: 3.984 kB / 1.482 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.617e-05/0.6179, allocations: 0 / 1.482 GB, free: 0.6406 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007395/0.6253, allocations: 2.397 MB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6253, allocations: 16.03 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.6289, allocations: 359.3 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006598/0.6355, allocations: 2.865 MB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.6357, allocations: 106.5 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.636, allocations: 132 kB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.6403, allocations: 1.619 MB / 1.49 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/0.6403, allocations: 0 / 1.49 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.6405, allocations: 52 kB / 1.49 GB, free: 8.887 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.6406, allocations: 32 kB / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.6441, allocations: 1.45 MB / 1.491 GB, free: 7.398 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.656, allocations: 4.517 MB / 1.496 GB, free: 2.832 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.659, allocations: 1.056 MB / 1.497 GB, free: 1.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.6601, allocations: 407.6 kB / 1.497 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.6602, allocations: 32.97 kB / 1.497 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/0.6618, allocations: 0.7532 MB / 1.498 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of pre-optimization done (n=100): time 3.788e-06/0.6618, allocations: 3.938 kB / 1.498 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of matching and sorting (n=100): time 0.005574/0.6674, allocations: 1.582 MB / 1.499 GB, free: 14.94 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.6676, allocations: 192.9 kB / 1.5 GB, free: 14.71 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007303/0.6749, allocations: 4.042 MB / 1.504 GB, free: 10.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.6752, allocations: 53.7 kB / 1.504 GB, free: 10.6 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009019/0.6761, allocations: 0.6849 MB / 1.504 GB, free: 9.906 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.6766, allocations: 349 kB / 1.505 GB, free: 9.562 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.6779, allocations: 0.9643 MB / 1.506 GB, free: 8.586 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6781, allocations: 305.1 kB / 1.506 GB, free: 8.285 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009514/0.6876, allocations: 6.335 MB / 1.512 GB, free: 1.949 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009876/0.6975, allocations: 6.699 MB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.7095, allocations: 7.514 MB / 1.526 GB, free: 3.629 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.7095, allocations: 0 / 1.526 GB, free: 3.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.02392/0.7334, allocations: 14.25 MB / 1.54 GB, free: 5.324 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.7334, allocations: 8 kB / 1.54 GB, free: 5.316 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.7335, allocations: 0 / 1.54 GB, free: 5.316 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/0.7343, allocations: 84.84 kB / 1.54 GB, free: 5.23 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.7359, allocations: 243.7 kB / 1.54 GB, free: 4.992 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.7388, allocations: 1.504 MB / 1.542 GB, free: 3.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.7407, allocations: 140.8 kB / 1.542 GB, free: 3.242 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/0.7411, allocations: 59.97 kB / 1.542 GB, free: 3.184 MB / 1.232 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.001591/0.7427, allocations: 0.6227 MB / 1.542 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006845/0.7433, allocations: 139.2 kB / 1.543 GB, free: 2.418 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005061/0.7484, allocations: 1.473 MB / 1.544 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.7484, allocations: 16 kB / 1.544 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7484, allocations: 0 / 1.544 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.7484, allocations: 3.984 kB / 1.544 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.7509, allocations: 0.9418 MB / 1.545 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.751, allocations: 0 / 1.545 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.7521, allocations: 179.8 kB / 1.545 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000688/0.7528, allocations: 76.72 kB / 1.545 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.753, allocations: 39.86 kB / 1.545 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.7566, allocations: 1.525 MB / 1.547 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.7566, allocations: 4 kB / 1.547 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.7615, allocations: 1.275 MB / 1.548 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.7628, allocations: 274.7 kB / 1.548 GB, free: 12.44 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/0.7631, allocations: 28 kB / 1.548 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7642, allocations: 67.92 kB / 1.548 GB, free: 12.35 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.7645, allocations: 92.77 kB / 1.548 GB, free: 12.26 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.7646, allocations: 47.97 kB / 1.548 GB, free: 12.21 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004291/0.7689, allocations: 2.589 MB / 1.551 GB, free: 9.617 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7689, allocations: 0 / 1.551 GB, free: 9.617 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004004/0.7729, allocations: 1.044 MB / 1.552 GB, free: 8.57 MB / 1.248 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.00392/0.7768, allocations: 1.001 MB / 1.553 GB, free: 7.773 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009632/0.7865, allocations: 7.083 MB / 1.56 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.7865, allocations: 4.25 kB / 1.56 GB, free: 0.668 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.7879, allocations: 0.6328 MB / 1.56 GB, free: 20 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.7898, allocations: 339.6 kB / 1.561 GB, free: 15.7 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/0.7986, allocations: 5.052 MB / 1.566 GB, free: 10.62 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.8001, allocations: 1.146 MB / 1.567 GB, free: 9.434 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001645/0.8018, allocations: 381.8 kB / 1.567 GB, free: 9.059 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.8022, allocations: 147.4 kB / 1.567 GB, free: 8.914 MB / 1.264 GB Notification: Performance of SimCode: time 1.473e-06/0.8022, allocations: 4 kB / 1.567 GB, free: 8.91 MB / 1.264 GB Notification: Performance of Templates: time 0.0616/0.8638, allocations: 32.07 MB / 1.599 GB, free: 9.117 MB / 1.295 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 -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/jenkins/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: 11.748378191143274]