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.001418/0.001418, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001648/0.001648, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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.899/2.899, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> 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: 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.001876/0.001876, allocations: 71.28 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.306, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008662/0.3147, allocations: 7.098 MB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1718/0.4865, allocations: 158.9 MB / 1.515 GB, free: 1.844 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.4876, allocations: 35.69 kB / 1.515 GB, free: 1.809 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.4922, allocations: 2.008 MB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.4947, allocations: 0.9151 MB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.4971, allocations: 1.032 MB / 1.519 GB, free: 13.85 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003148/0.5002, allocations: 2.691 MB / 1.521 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.5013, allocations: 0.6417 MB / 1.522 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.5027, allocations: 0.9423 MB / 1.523 GB, free: 9.516 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.5042, allocations: 0.9765 MB / 1.524 GB, free: 8.535 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.5045, allocations: 188 kB / 1.524 GB, free: 8.352 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.5086, allocations: 2.773 MB / 1.527 GB, free: 5.574 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.5097, allocations: 1.243 MB / 1.528 GB, free: 4.328 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.5114, allocations: 1.426 MB / 1.529 GB, free: 2.895 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006285/0.5176, allocations: 5.572 MB / 1.535 GB, free: 13.3 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5177, allocations: 0 / 1.535 GB, free: 13.3 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5177, allocations: 4 kB / 1.535 GB, free: 13.3 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.708e-05/0.5177, allocations: 4 kB / 1.535 GB, free: 13.3 MB / 1.232 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.006816/0.5245, allocations: 4.024 MB / 1.539 GB, free: 9.219 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5245, allocations: 12.03 kB / 1.539 GB, free: 9.207 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.5248, allocations: 186.3 kB / 1.539 GB, free: 9.016 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.5269, allocations: 446.8 kB / 1.539 GB, free: 8.578 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6351/1.162, allocations: 87.63 MB / 1.625 GB, free: 250 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/1.162, allocations: 101.2 kB / 1.625 GB, free: 249.9 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/1.162, allocations: 134.5 kB / 1.625 GB, free: 249.9 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/1.165, allocations: 1.36 MB / 1.627 GB, free: 249.3 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/1.165, allocations: 0 / 1.627 GB, free: 249.3 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/1.165, allocations: 53.92 kB / 1.627 GB, free: 249.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/1.165, allocations: 34.91 kB / 1.627 GB, free: 249.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/1.167, allocations: 1.505 MB / 1.628 GB, free: 248.9 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/1.187, allocations: 23.91 MB / 1.651 GB, free: 239.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/1.189, allocations: 1.062 MB / 1.653 GB, free: 238.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/1.189, allocations: 412.8 kB / 1.653 GB, free: 238.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/1.19, allocations: 42.31 kB / 1.653 GB, free: 238.5 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008592/1.19, allocations: 0.6566 MB / 1.654 GB, free: 238 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.164e-06/1.19, allocations: 4 kB / 1.654 GB, free: 238 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.003909/1.194, allocations: 1.67 MB / 1.655 GB, free: 236.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.194, allocations: 200.8 kB / 1.655 GB, free: 236.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07046/1.265, allocations: 99.44 MB / 1.753 GB, free: 136.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002628/1.265, allocations: 49.7 kB / 1.753 GB, free: 136.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007784/1.266, allocations: 1.078 MB / 1.754 GB, free: 135.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/1.266, allocations: 341.1 kB / 1.754 GB, free: 135.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/1.266, allocations: 242.8 kB / 1.754 GB, free: 135.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.688e-05/1.266, allocations: 345.9 kB / 1.755 GB, free: 134.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/1.267, allocations: 498.4 kB / 1.755 GB, free: 134.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/1.268, allocations: 0.6215 MB / 1.756 GB, free: 133.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/1.269, allocations: 1.006 MB / 1.757 GB, free: 132.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.269, allocations: 7.938 kB / 1.757 GB, free: 132.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002871/1.272, allocations: 1.519 MB / 1.758 GB, free: 131.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.272, allocations: 8 kB / 1.758 GB, free: 131.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.272, allocations: 4 kB / 1.758 GB, free: 131.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/1.272, allocations: 80.78 kB / 1.758 GB, free: 131 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/1.273, allocations: 235.7 kB / 1.758 GB, free: 130.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/1.275, allocations: 1.535 MB / 1.76 GB, free: 129.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.276, allocations: 280.5 kB / 1.76 GB, free: 128.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/1.276, allocations: 47.97 kB / 1.76 GB, free: 128.8 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.0009663/1.277, allocations: 0.8113 MB / 1.761 GB, free: 128 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/1.278, allocations: 238.3 kB / 1.761 GB, free: 127.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/1.281, allocations: 1.615 MB / 1.763 GB, free: 126.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.281, allocations: 12 kB / 1.763 GB, free: 126.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.281, allocations: 4.031 kB / 1.763 GB, free: 126.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.281, allocations: 7.969 kB / 1.763 GB, free: 126.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.282, allocations: 1.953 MB / 1.765 GB, free: 124.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.282, allocations: 0 / 1.765 GB, free: 124.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/1.283, allocations: 183.7 kB / 1.765 GB, free: 123.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/1.283, allocations: 72.84 kB / 1.765 GB, free: 123.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/1.283, allocations: 39.97 kB / 1.765 GB, free: 123.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/1.285, allocations: 1.558 MB / 1.767 GB, free: 122.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.285, allocations: 0 / 1.767 GB, free: 122.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/1.287, allocations: 1.374 MB / 1.768 GB, free: 120.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.288, allocations: 0.6929 MB / 1.769 GB, free: 120 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.289, allocations: 31.92 kB / 1.769 GB, free: 120 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.29, allocations: 183.9 kB / 1.769 GB, free: 119.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.29, allocations: 92.81 kB / 1.769 GB, free: 119.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/1.29, allocations: 43.98 kB / 1.769 GB, free: 119.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04502/1.335, allocations: 79.42 MB / 1.846 GB, free: 40.26 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.91e-07/1.335, allocations: 0 / 1.846 GB, free: 40.26 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002361/1.337, allocations: 1.039 MB / 1.847 GB, free: 39.22 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.004873/1.342, allocations: 2.781 MB / 1.85 GB, free: 36.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001764/1.344, allocations: 1.204 MB / 1.851 GB, free: 35.39 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.344, allocations: 0 / 1.851 GB, free: 35.39 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008327/1.345, allocations: 0.6254 MB / 1.852 GB, free: 34.75 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.346, allocations: 437.4 kB / 1.852 GB, free: 34.33 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9451/2.291, allocations: 407.1 MB / 2.25 GB, free: 0.5773 GB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/2.293, allocations: 1.727 MB / 2.252 GB, free: 0.5765 GB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.001947/2.295, allocations: 0.7714 MB / 2.252 GB, free: 0.5765 GB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/2.296, allocations: 1.112 MB / 2.254 GB, free: 0.5757 GB / 1.639 GB Notification: Performance of SimCode: time 8.92e-07/2.296, allocations: 0 / 2.254 GB, free: 0.5757 GB / 1.639 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/2.44, allocations: 114.2 MB / 2.365 GB, free: 491.4 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/18.68, allocations: 5.891 kB / 2.365 GB, free: 491.4 MB / 1.639 GB " [Timeout remaining time 281] (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/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: 25.090491379145533]