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.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.001506/0.001506, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001617/0.001617, allocations: 191.1 kB / 22.23 MB, free: 5.105 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.343/1.343, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.953/2.953, allocations: 495.7 MB / 0.7831 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.58 kB / 1.137 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009221/0.3349, allocations: 7.052 MB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.5133, allocations: 156 MB / 1.466 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.5148, allocations: 35.75 kB / 1.466 GB, free: 14.08 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005064/0.5198, allocations: 1.999 MB / 1.468 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.5226, allocations: 0.9012 MB / 1.469 GB, free: 11.18 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.5253, allocations: 1.031 MB / 1.47 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003645/0.5289, allocations: 2.664 MB / 1.473 GB, free: 7.477 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.5303, allocations: 0.6494 MB / 1.473 GB, free: 6.777 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.5322, allocations: 0.9189 MB / 1.474 GB, free: 5.855 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.5339, allocations: 0.9688 MB / 1.475 GB, free: 4.883 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.5344, allocations: 184 kB / 1.475 GB, free: 4.703 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.5393, allocations: 2.742 MB / 1.478 GB, free: 1.957 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.5406, allocations: 1.162 MB / 1.479 GB, free: 0.793 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.5422, allocations: 0.9406 MB / 1.48 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.5487, allocations: 3.854 MB / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.5487, allocations: 0 / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5487, allocations: 0 / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.875e-05/0.5488, allocations: 0 / 1.484 GB, free: 11.98 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.005857/0.5546, allocations: 2.381 MB / 1.486 GB, free: 9.555 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5547, allocations: 12.03 kB / 1.486 GB, free: 9.543 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.556, allocations: 275.5 kB / 1.486 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.5599, allocations: 2.869 MB / 1.489 GB, free: 6.355 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-05/0.56, allocations: 102.5 kB / 1.489 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.5601, allocations: 132 kB / 1.489 GB, free: 6.125 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.5626, allocations: 1.36 MB / 1.491 GB, free: 4.703 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5626, allocations: 7.938 kB / 1.491 GB, free: 4.695 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5628, allocations: 55.98 kB / 1.491 GB, free: 4.641 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.5628, allocations: 32 kB / 1.491 GB, free: 4.609 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.5653, allocations: 1.496 MB / 1.492 GB, free: 3.105 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007814/0.5731, allocations: 5.607 MB / 1.498 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.5752, allocations: 1.071 MB / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.5759, allocations: 407.6 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.576, allocations: 37.09 kB / 1.499 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.5771, allocations: 0.6606 MB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 2.645e-06/0.5771, allocations: 0 / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.003945/0.5811, allocations: 1.59 MB / 1.501 GB, free: 9.508 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5812, allocations: 192.9 kB / 1.502 GB, free: 9.277 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/0.5861, allocations: 4.102 MB / 1.506 GB, free: 5.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5862, allocations: 57.69 kB / 1.506 GB, free: 5.105 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.5868, allocations: 0.662 MB / 1.506 GB, free: 4.438 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.5872, allocations: 353.1 kB / 1.507 GB, free: 4.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009211/0.5881, allocations: 0.9643 MB / 1.508 GB, free: 3.117 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5882, allocations: 305.1 kB / 1.508 GB, free: 2.816 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005979/0.5942, allocations: 6.339 MB / 1.514 GB, free: 12.47 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006269/0.6004, allocations: 6.573 MB / 1.521 GB, free: 5.875 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007629/0.6081, allocations: 7.51 MB / 1.528 GB, free: 14.32 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6081, allocations: 0 / 1.528 GB, free: 14.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01507/0.6232, allocations: 14.26 MB / 1.542 GB, free: 0 / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.6232, allocations: 4.047 kB / 1.542 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.6232, allocations: 128 / 1.542 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.6238, allocations: 92.66 kB / 1.542 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6249, allocations: 247.7 kB / 1.542 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.6271, allocations: 1.527 MB / 1.544 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.6283, allocations: 149.7 kB / 1.544 GB, free: 13.86 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.6285, allocations: 63.94 kB / 1.544 GB, free: 13.8 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.001013/0.6295, allocations: 0.6127 MB / 1.544 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.6299, allocations: 143.1 kB / 1.545 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.6332, allocations: 1.478 MB / 1.546 GB, free: 11.55 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.6332, allocations: 12 kB / 1.546 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6332, allocations: 0 / 1.546 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.6332, allocations: 7.969 kB / 1.546 GB, free: 11.53 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.6351, allocations: 1.283 MB / 1.547 GB, free: 10.2 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.6351, allocations: 0 / 1.547 GB, free: 10.2 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007619/0.6359, allocations: 175.8 kB / 1.547 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.6363, allocations: 72.78 kB / 1.548 GB, free: 9.953 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.6364, allocations: 31.98 kB / 1.548 GB, free: 9.922 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.6385, allocations: 1.552 MB / 1.549 GB, free: 8.246 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6385, allocations: 4 kB / 1.549 GB, free: 8.242 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.6412, allocations: 1.283 MB / 1.55 GB, free: 6.938 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/0.6418, allocations: 294.5 kB / 1.551 GB, free: 6.648 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.6421, allocations: 24 kB / 1.551 GB, free: 6.625 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008288/0.6429, allocations: 71.92 kB / 1.551 GB, free: 6.555 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.6431, allocations: 88.97 kB / 1.551 GB, free: 6.465 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.6432, allocations: 51.97 kB / 1.551 GB, free: 6.414 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002812/0.646, allocations: 2.63 MB / 1.553 GB, free: 3.781 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.646, allocations: 0 / 1.553 GB, free: 3.781 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002379/0.6484, allocations: 1.044 MB / 1.554 GB, free: 2.734 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.003254/0.6517, allocations: 0.9457 MB / 1.555 GB, free: 1.957 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008552/0.6602, allocations: 7.095 MB / 1.562 GB, free: 10.85 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.6602, allocations: 0 / 1.562 GB, free: 10.85 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.6623, allocations: 0.6408 MB / 1.563 GB, free: 10.2 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.665, allocations: 359.5 kB / 1.563 GB, free: 9.867 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.6752, allocations: 4.947 MB / 1.568 GB, free: 4.879 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.6775, allocations: 1.722 MB / 1.57 GB, free: 3.125 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001757/0.6793, allocations: 398.3 kB / 1.57 GB, free: 2.73 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.6799, allocations: 151.3 kB / 1.57 GB, free: 2.582 MB / 1.264 GB Notification: Performance of SimCode: time 1.633e-06/0.6799, allocations: 0 / 1.57 GB, free: 2.582 MB / 1.264 GB Notification: Performance of Templates: time 0.05762/0.7375, allocations: 31.18 MB / 1.601 GB, free: 3.598 MB / 1.295 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 -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/jenkins/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.082090519368649]