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.001354/0.001354, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001441/0.001441, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.644/1.644, allocations: 225.6 MB / 249.4 MB, free: 3.293 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 3.03/3.03, allocations: 496.2 MB / 0.7819 GB, free: 12.3 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.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.001917/0.001917, allocations: 71.88 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007606/1.027, allocations: 7.063 MB / 1.312 GB, free: 28.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2057/1.232, allocations: 156 MB / 1.465 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/1.234, allocations: 25.53 kB / 1.465 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006153/1.241, allocations: 1.817 MB / 1.466 GB, free: 10.53 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/1.244, allocations: 0.9118 MB / 1.467 GB, free: 9.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/1.247, allocations: 1.008 MB / 1.468 GB, free: 9.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00546/1.253, allocations: 2.588 MB / 1.471 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/1.254, allocations: 0.6384 MB / 1.471 GB, free: 7.664 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/1.256, allocations: 0.9081 MB / 1.472 GB, free: 7.129 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/1.258, allocations: 0.9522 MB / 1.473 GB, free: 6.477 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003602/1.258, allocations: 184.2 kB / 1.473 GB, free: 6.477 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005687/1.264, allocations: 2.351 MB / 1.476 GB, free: 5.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00188/1.266, allocations: 1.157 MB / 1.477 GB, free: 4.629 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002027/1.268, allocations: 0.94 MB / 1.478 GB, free: 3.949 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.28, allocations: 3.793 MB / 1.481 GB, free: 1.402 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.28, allocations: 5.281 kB / 1.481 GB, free: 1.398 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/1.28, allocations: 0 / 1.481 GB, free: 1.398 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001167/1.28, allocations: 0 / 1.481 GB, free: 1.398 MB / 1.154 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.007755/1.288, allocations: 2.457 MB / 1.484 GB, free: 15.53 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.288, allocations: 9.281 kB / 1.484 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/1.29, allocations: 270.8 kB / 1.484 GB, free: 15.4 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/1.295, allocations: 2.947 MB / 1.487 GB, free: 13.92 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.295, allocations: 106.3 kB / 1.487 GB, free: 13.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/1.295, allocations: 135.8 kB / 1.487 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/1.298, allocations: 1.365 MB / 1.489 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.298, allocations: 0 / 1.489 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/1.298, allocations: 52 kB / 1.489 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/1.298, allocations: 32 kB / 1.489 GB, free: 12.61 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/1.301, allocations: 1.504 MB / 1.49 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009777/1.311, allocations: 5.666 MB / 1.496 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/1.313, allocations: 1.064 MB / 1.497 GB, free: 4.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/1.314, allocations: 417.8 kB / 1.497 GB, free: 3.754 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.314, allocations: 40.88 kB / 1.497 GB, free: 3.711 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.315, allocations: 0.649 MB / 1.498 GB, free: 3.047 MB / 1.17 GB Notification: Performance of pre-optimization done (n=100): time 2.424e-06/1.315, allocations: 0 / 1.498 GB, free: 3.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=100): time 0.004458/1.32, allocations: 1.665 MB / 1.499 GB, free: 1.352 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.32, allocations: 192.9 kB / 1.5 GB, free: 1.121 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005705/1.325, allocations: 4.106 MB / 1.504 GB, free: 13 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003025/1.326, allocations: 53.7 kB / 1.504 GB, free: 12.95 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007147/1.326, allocations: 0.6619 MB / 1.504 GB, free: 12.28 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/1.327, allocations: 349.1 kB / 1.505 GB, free: 11.94 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/1.328, allocations: 0.9604 MB / 1.506 GB, free: 10.97 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.328, allocations: 305.1 kB / 1.506 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006886/1.335, allocations: 6.335 MB / 1.512 GB, free: 4.328 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008147/1.343, allocations: 6.581 MB / 1.518 GB, free: 13.72 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009615/1.353, allocations: 7.466 MB / 1.526 GB, free: 6.219 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/1.353, allocations: 7.875 kB / 1.526 GB, free: 6.211 MB / 1.201 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01762/1.371, allocations: 14.19 MB / 1.54 GB, free: 7.965 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/1.371, allocations: 4 kB / 1.54 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/1.371, allocations: 4 kB / 1.54 GB, free: 7.957 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/1.371, allocations: 80.84 kB / 1.54 GB, free: 7.875 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.373, allocations: 243.7 kB / 1.54 GB, free: 7.637 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/1.375, allocations: 1.642 MB / 1.542 GB, free: 5.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/1.377, allocations: 143.1 kB / 1.542 GB, free: 5.711 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/1.377, allocations: 63.94 kB / 1.542 GB, free: 5.648 MB / 1.217 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.001162/1.378, allocations: 0.613 MB / 1.542 GB, free: 5.027 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004106/1.378, allocations: 143.1 kB / 1.542 GB, free: 4.887 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.382, allocations: 1.478 MB / 1.544 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.382, allocations: 12 kB / 1.544 GB, free: 3.383 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.382, allocations: 7.984 kB / 1.544 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.382, allocations: 3.984 kB / 1.544 GB, free: 3.371 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/1.384, allocations: 1.308 MB / 1.545 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.384, allocations: 0 / 1.545 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/1.385, allocations: 175.8 kB / 1.545 GB, free: 1.836 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.386, allocations: 72.78 kB / 1.545 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/1.386, allocations: 39.91 kB / 1.546 GB, free: 1.723 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.388, allocations: 1.643 MB / 1.547 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.388, allocations: 3.938 kB / 1.547 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/1.391, allocations: 1.287 MB / 1.548 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/1.392, allocations: 371.7 kB / 1.549 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/1.392, allocations: 24 kB / 1.549 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007661/1.392, allocations: 70.27 kB / 1.549 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/1.393, allocations: 88.88 kB / 1.549 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/1.393, allocations: 43.97 kB / 1.549 GB, free: 14.01 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003023/1.396, allocations: 2.638 MB / 1.552 GB, free: 11.37 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.396, allocations: 0 / 1.552 GB, free: 11.37 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003137/1.399, allocations: 1.029 MB / 1.553 GB, free: 10.34 MB / 1.232 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.003362/1.402, allocations: 0.9638 MB / 1.553 GB, free: 9.547 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008978/1.411, allocations: 7.099 MB / 1.56 GB, free: 2.434 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.411, allocations: 0 / 1.56 GB, free: 2.434 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/1.413, allocations: 0.6289 MB / 1.561 GB, free: 1.789 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.415, allocations: 366 kB / 1.561 GB, free: 1.449 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/1.424, allocations: 4.953 MB / 1.566 GB, free: 12.46 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.426, allocations: 1.728 MB / 1.568 GB, free: 10.7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001577/1.428, allocations: 386.4 kB / 1.568 GB, free: 10.31 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/1.428, allocations: 151.4 kB / 1.568 GB, free: 10.16 MB / 1.248 GB Notification: Performance of SimCode: time 1.844e-06/1.428, allocations: 0 / 1.568 GB, free: 10.16 MB / 1.248 GB Notification: Performance of Templates: time 0.06131/1.489, allocations: 30.89 MB / 1.599 GB, free: 11.46 MB / 1.279 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 400] 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: 11.224971643649042]