Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001332/0.001332, allocations: 77.62 kB / 19.76 MB, free: 2.031 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.001588/0.001588, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.961 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 2.842/2.842, allocations: 394.2 MB / 0.6387 GB, free: 11.91 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.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_latest_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_latest_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.00213/0.00213, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9201, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007543/0.9277, allocations: 6.234 MB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.194/1.122, allocations: 137 MB / 1.326 GB, free: 6.645 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/1.123, allocations: 31.75 kB / 1.327 GB, free: 6.613 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005043/1.128, allocations: 1.898 MB / 1.328 GB, free: 4.711 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/1.131, allocations: 0.9122 MB / 1.329 GB, free: 3.797 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00282/1.134, allocations: 1.014 MB / 1.33 GB, free: 2.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00342/1.138, allocations: 2.66 MB / 1.333 GB, free: 124 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/1.139, allocations: 0.6183 MB / 1.333 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/1.141, allocations: 0.9424 MB / 1.334 GB, free: 14.51 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/1.142, allocations: 0.8944 MB / 1.335 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/1.142, allocations: 188 kB / 1.335 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/1.147, allocations: 2.504 MB / 1.338 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001281/1.148, allocations: 1.162 MB / 1.339 GB, free: 9.758 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009215/1.149, allocations: 0.7619 MB / 1.34 GB, free: 8.992 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006403/1.156, allocations: 3.885 MB / 1.344 GB, free: 5.094 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.156, allocations: 0 / 1.344 GB, free: 5.094 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.984e-06/1.156, allocations: 0 / 1.344 GB, free: 5.094 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.314e-05/1.156, allocations: 0 / 1.344 GB, free: 5.094 MB / 1.186 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.004907/1.161, allocations: 2.401 MB / 1.346 GB, free: 2.648 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.161, allocations: 12.03 kB / 1.346 GB, free: 2.637 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/1.163, allocations: 351.4 kB / 1.346 GB, free: 2.293 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/1.167, allocations: 2.877 MB / 1.349 GB, free: 15.37 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.167, allocations: 102.5 kB / 1.349 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/1.167, allocations: 132 kB / 1.349 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/1.17, allocations: 1.611 MB / 1.351 GB, free: 13.4 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.17, allocations: 3.938 kB / 1.351 GB, free: 13.4 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.17, allocations: 52 kB / 1.351 GB, free: 13.35 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/1.17, allocations: 31.98 kB / 1.351 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/1.172, allocations: 1.457 MB / 1.352 GB, free: 11.85 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007574/1.18, allocations: 4.51 MB / 1.357 GB, free: 7.285 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/1.182, allocations: 1.052 MB / 1.358 GB, free: 6.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/1.183, allocations: 425.6 kB / 1.358 GB, free: 5.816 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/1.183, allocations: 24.98 kB / 1.358 GB, free: 5.793 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/1.184, allocations: 0.765 MB / 1.359 GB, free: 4.984 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 2.825e-06/1.184, allocations: 0 / 1.359 GB, free: 4.984 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.004201/1.189, allocations: 1.582 MB / 1.36 GB, free: 3.395 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.189, allocations: 192.9 kB / 1.361 GB, free: 3.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/1.194, allocations: 4.039 MB / 1.365 GB, free: 15.11 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.194, allocations: 45.7 kB / 1.365 GB, free: 15.06 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/1.195, allocations: 0.6811 MB / 1.365 GB, free: 14.37 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/1.195, allocations: 349.1 kB / 1.366 GB, free: 14.02 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009931/1.196, allocations: 0.9721 MB / 1.367 GB, free: 13.04 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.196, allocations: 301.1 kB / 1.367 GB, free: 12.74 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006477/1.203, allocations: 6.335 MB / 1.373 GB, free: 6.406 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/1.21, allocations: 6.707 MB / 1.38 GB, free: 15.64 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/1.218, allocations: 7.51 MB / 1.387 GB, free: 8.082 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.218, allocations: 0 / 1.387 GB, free: 8.082 MB / 1.232 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01738/1.235, allocations: 14.25 MB / 1.401 GB, free: 9.773 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.235, allocations: 8 kB / 1.401 GB, free: 9.766 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.235, allocations: 0 / 1.401 GB, free: 9.766 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/1.236, allocations: 92.77 kB / 1.401 GB, free: 9.672 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.237, allocations: 239.7 kB / 1.401 GB, free: 9.438 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/1.239, allocations: 1.501 MB / 1.403 GB, free: 7.828 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.241, allocations: 139.2 kB / 1.403 GB, free: 7.691 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.241, allocations: 59.95 kB / 1.403 GB, free: 7.633 MB / 1.248 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.001077/1.242, allocations: 0.6166 MB / 1.403 GB, free: 7.008 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/1.242, allocations: 135.1 kB / 1.404 GB, free: 6.875 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/1.245, allocations: 1.473 MB / 1.405 GB, free: 5.383 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.245, allocations: 15.94 kB / 1.405 GB, free: 5.367 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.245, allocations: 0 / 1.405 GB, free: 5.367 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/1.245, allocations: 11.97 kB / 1.405 GB, free: 5.355 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.247, allocations: 0.9495 MB / 1.406 GB, free: 4.379 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.247, allocations: 0 / 1.406 GB, free: 4.379 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008265/1.248, allocations: 179.8 kB / 1.406 GB, free: 4.203 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.248, allocations: 72.78 kB / 1.406 GB, free: 4.129 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/1.248, allocations: 31.92 kB / 1.406 GB, free: 4.098 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.25, allocations: 1.532 MB / 1.408 GB, free: 2.461 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.25, allocations: 0 / 1.408 GB, free: 2.461 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/1.253, allocations: 1.271 MB / 1.409 GB, free: 1.168 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/1.253, allocations: 278.7 kB / 1.409 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.254, allocations: 23.98 kB / 1.409 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/1.254, allocations: 72 kB / 1.409 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.255, allocations: 92.77 kB / 1.409 GB, free: 0.7109 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/1.255, allocations: 51.97 kB / 1.409 GB, free: 0.6602 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002697/1.257, allocations: 2.589 MB / 1.412 GB, free: 14.07 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.31e-07/1.257, allocations: 0 / 1.412 GB, free: 14.07 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002397/1.26, allocations: 1.04 MB / 1.413 GB, free: 13.02 MB / 1.264 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.003071/1.263, allocations: 1.006 MB / 1.414 GB, free: 12.22 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008339/1.271, allocations: 7.091 MB / 1.421 GB, free: 5.117 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.271, allocations: 3.984 kB / 1.421 GB, free: 5.113 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.273, allocations: 0.6331 MB / 1.422 GB, free: 4.465 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.274, allocations: 329.7 kB / 1.422 GB, free: 4.16 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/1.282, allocations: 5.04 MB / 1.427 GB, free: 15.08 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.283, allocations: 1.158 MB / 1.428 GB, free: 13.89 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00117/1.284, allocations: 377.8 kB / 1.428 GB, free: 13.52 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/1.285, allocations: 152.4 kB / 1.428 GB, free: 13.37 MB / 1.279 GB Notification: Performance of SimCode: time 9.72e-07/1.285, allocations: 0 / 1.428 GB, free: 13.37 MB / 1.279 GB Notification: Performance of Templates: time 0.05401/1.339, allocations: 29.67 MB / 1.457 GB, free: 15.95 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.247618924011476]