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.001281/0.001281, allocations: 107.7 kB / 16.45 MB, free: 6.035 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.001283/0.001283, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.05/3.05, allocations: 497.2 MB / 0.7811 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.92 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.315, allocations: 173.9 MB / 1.304 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008742/0.3237, allocations: 6.991 MB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.4996, allocations: 155.8 MB / 1.463 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.5009, allocations: 23.88 kB / 1.463 GB, free: 14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004919/0.5059, allocations: 1.825 MB / 1.465 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.5088, allocations: 0.9041 MB / 1.466 GB, free: 11.26 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.5113, allocations: 0.9916 MB / 1.467 GB, free: 10.28 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.5146, allocations: 2.578 MB / 1.469 GB, free: 7.691 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.5158, allocations: 0.6604 MB / 1.47 GB, free: 6.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.5173, allocations: 0.8995 MB / 1.471 GB, free: 6.078 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.5187, allocations: 0.9624 MB / 1.472 GB, free: 5.113 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.519, allocations: 184 kB / 1.472 GB, free: 4.934 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.5231, allocations: 2.348 MB / 1.474 GB, free: 2.582 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.5244, allocations: 1.239 MB / 1.475 GB, free: 1.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.5263, allocations: 1.427 MB / 1.477 GB, free: 15.9 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008149/0.5344, allocations: 5.466 MB / 1.482 GB, free: 10.42 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5345, allocations: 0 / 1.482 GB, free: 10.42 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5345, allocations: 0 / 1.482 GB, free: 10.42 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.397e-05/0.5345, allocations: 0 / 1.482 GB, free: 10.42 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.008626/0.5432, allocations: 4.083 MB / 1.486 GB, free: 6.266 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5432, allocations: 12.62 kB / 1.486 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.5434, allocations: 186.3 kB / 1.486 GB, free: 6.062 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.5449, allocations: 362.9 kB / 1.487 GB, free: 5.707 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09054/0.6354, allocations: 87.68 MB / 1.572 GB, free: 13.93 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.6355, allocations: 102.5 kB / 1.572 GB, free: 13.83 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.6357, allocations: 135.9 kB / 1.572 GB, free: 13.7 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.638, allocations: 1.36 MB / 1.574 GB, free: 12.27 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.6381, allocations: 7.938 kB / 1.574 GB, free: 12.27 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.6382, allocations: 52 kB / 1.574 GB, free: 12.21 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.6382, allocations: 35.98 kB / 1.574 GB, free: 12.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.6406, allocations: 1.493 MB / 1.575 GB, free: 10.68 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02433/0.6649, allocations: 23.99 MB / 1.599 GB, free: 2.469 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.6671, allocations: 1.065 MB / 1.6 GB, free: 1.402 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.6679, allocations: 407.6 kB / 1.6 GB, free: 1.004 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/0.668, allocations: 37.09 kB / 1.6 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.6691, allocations: 0.6567 MB / 1.601 GB, free: 300 kB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.355e-06/0.6691, allocations: 0 / 1.601 GB, free: 300 kB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.6072/1.276, allocations: 1.738 MB / 1.603 GB, free: 296.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/1.276, allocations: 199.4 kB / 1.603 GB, free: 296 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08458/1.361, allocations: 99.41 MB / 1.7 GB, free: 216.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003443/1.361, allocations: 53.7 kB / 1.7 GB, free: 216.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.362, allocations: 1.073 MB / 1.701 GB, free: 215.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/1.363, allocations: 336.6 kB / 1.701 GB, free: 215 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/1.363, allocations: 244.5 kB / 1.701 GB, free: 214.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/1.363, allocations: 350.9 kB / 1.702 GB, free: 214.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/1.364, allocations: 494.4 kB / 1.702 GB, free: 214 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/1.365, allocations: 0.6239 MB / 1.703 GB, free: 213.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.366, allocations: 1.004 MB / 1.704 GB, free: 212.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.366, allocations: 4 kB / 1.704 GB, free: 212.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003115/1.369, allocations: 1.517 MB / 1.705 GB, free: 210.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.369, allocations: 6.844 kB / 1.705 GB, free: 210.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.369, allocations: 0.5625 kB / 1.705 GB, free: 210.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/1.37, allocations: 87.38 kB / 1.705 GB, free: 210.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/1.371, allocations: 238.8 kB / 1.706 GB, free: 210.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/1.373, allocations: 1.647 MB / 1.707 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.374, allocations: 271.4 kB / 1.708 GB, free: 208.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/1.374, allocations: 51.97 kB / 1.708 GB, free: 208.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (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 (138): * Single equations (assignments): 137 * Array equations: 0 * 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.0009876/1.375, allocations: 0.8124 MB / 1.708 GB, free: 207.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007687/1.376, allocations: 234.4 kB / 1.709 GB, free: 207.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.379, allocations: 1.617 MB / 1.71 GB, free: 205.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.379, allocations: 12 kB / 1.71 GB, free: 205.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.379, allocations: 7.266 kB / 1.71 GB, free: 205.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.379, allocations: 4.047 kB / 1.71 GB, free: 205.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/1.381, allocations: 1.968 MB / 1.712 GB, free: 203.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.381, allocations: 0 / 1.712 GB, free: 203.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/1.382, allocations: 183.7 kB / 1.712 GB, free: 203.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/1.382, allocations: 76.09 kB / 1.712 GB, free: 203.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/1.382, allocations: 27.97 kB / 1.712 GB, free: 203.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/1.384, allocations: 1.66 MB / 1.714 GB, free: 201.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.384, allocations: 3.984 kB / 1.714 GB, free: 201.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/1.386, allocations: 1.375 MB / 1.715 GB, free: 200.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.388, allocations: 0.7682 MB / 1.716 GB, free: 199.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/1.389, allocations: 26.08 kB / 1.716 GB, free: 199.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.39, allocations: 182.6 kB / 1.716 GB, free: 199.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.39, allocations: 88.88 kB / 1.716 GB, free: 199.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/1.39, allocations: 47.97 kB / 1.716 GB, free: 199.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04877/1.439, allocations: 79.39 MB / 1.794 GB, free: 119.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.31e-07/1.439, allocations: 0 / 1.794 GB, free: 119.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003146/1.442, allocations: 1.04 MB / 1.795 GB, free: 118.9 MB / 1.295 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.006598/1.449, allocations: 2.791 MB / 1.798 GB, free: 116.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.451, allocations: 1.197 MB / 1.799 GB, free: 115.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.451, allocations: 0 / 1.799 GB, free: 115.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.452, allocations: 0.633 MB / 1.799 GB, free: 114.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.455, allocations: 431.9 kB / 1.8 GB, free: 114.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3683/1.823, allocations: 407.1 MB / 2.197 GB, free: 10.86 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/1.825, allocations: 1.717 MB / 2.199 GB, free: 9.117 MB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.002199/1.827, allocations: 0.7802 MB / 2.2 GB, free: 8.332 MB / 1.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.829, allocations: 1.104 MB / 2.201 GB, free: 7.227 MB / 1.592 GB Notification: Performance of SimCode: time 1.733e-06/1.829, allocations: 0 / 2.201 GB, free: 7.227 MB / 1.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7134/2.542, allocations: 113.3 MB / 2.312 GB, free: 0.5023 GB / 1.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.33/19.87, allocations: 2.75 kB / 2.312 GB, free: 0.5023 GB / 1.592 GB " [Timeout remaining time 280] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 840.0] 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_2/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: 26.64360862225294]