Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.001447/0.001447, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001617/0.001617, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.957 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.983/2.983, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.001852/0.001852, allocations: 70.64 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01029/0.3189, allocations: 8.336 MB / 1.361 GB, free: 40 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1771/0.4959, allocations: 163.1 MB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.4982, allocations: 55.56 kB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005211/0.5035, allocations: 2.194 MB / 1.522 GB, free: 10.12 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.507, allocations: 1.305 MB / 1.524 GB, free: 8.809 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.5105, allocations: 1.538 MB / 1.525 GB, free: 7.277 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0064/0.5169, allocations: 5.902 MB / 1.531 GB, free: 1.355 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.5186, allocations: 0.75 MB / 1.532 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.5215, allocations: 1.742 MB / 1.533 GB, free: 14.81 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.5242, allocations: 1.64 MB / 1.535 GB, free: 13.17 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0007694/0.525, allocations: 280 kB / 1.535 GB, free: 12.89 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.53, allocations: 2.875 MB / 1.538 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.003098/0.5331, allocations: 3.088 MB / 1.541 GB, free: 6.922 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004646/0.5378, allocations: 2.947 MB / 1.544 GB, free: 3.961 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.5515, allocations: 10.95 MB / 1.555 GB, free: 8.973 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5515, allocations: 0 / 1.555 GB, free: 8.973 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5515, allocations: 0 / 1.555 GB, free: 8.973 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002438/0.5518, allocations: 4 kB / 1.555 GB, free: 8.969 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02023/0.572, allocations: 8.408 MB / 1.563 GB, free: 492 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.572, allocations: 8.031 kB / 1.563 GB, free: 484 kB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000461/0.5725, allocations: 227.9 kB / 1.563 GB, free: 244 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.5768, allocations: 0.6924 MB / 1.564 GB, free: 15.54 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.752/1.329, allocations: 276.1 MB / 1.833 GB, free: 49.25 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/1.329, allocations: 138.9 kB / 1.834 GB, free: 49.11 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006338/1.33, allocations: 191.9 kB / 1.834 GB, free: 48.93 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/1.333, allocations: 1.96 MB / 1.836 GB, free: 46.89 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/1.333, allocations: 0 / 1.836 GB, free: 46.89 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/1.333, allocations: 64 kB / 1.836 GB, free: 46.82 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/1.333, allocations: 36 kB / 1.836 GB, free: 46.79 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/1.336, allocations: 1.99 MB / 1.838 GB, free: 44.79 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04947/1.386, allocations: 70.37 MB / 1.906 GB, free: 6.172 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.389, allocations: 1.576 MB / 1.908 GB, free: 4.598 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.39, allocations: 0.9057 MB / 1.909 GB, free: 3.691 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/1.39, allocations: 37.11 kB / 1.909 GB, free: 3.652 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/1.392, allocations: 1.195 MB / 1.91 GB, free: 2.438 MB / 1.326 GB Notification: Performance of pre-optimization done (n=117): time 3.327e-06/1.392, allocations: 0 / 1.91 GB, free: 2.438 MB / 1.326 GB Notification: Performance of matching and sorting (n=117): time 0.008638/1.401, allocations: 3.675 MB / 1.914 GB, free: 14.75 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002579/1.401, allocations: 346.5 kB / 1.914 GB, free: 14.36 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3588/1.76, allocations: 316 MB / 2.223 GB, free: 2.355 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.0004375/1.76, allocations: 65.7 kB / 2.223 GB, free: 2.285 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.003515/1.764, allocations: 2.252 MB / 2.225 GB, free: 28 kB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006198/1.764, allocations: 402.2 kB / 2.225 GB, free: 15.63 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/1.765, allocations: 459.4 kB / 2.226 GB, free: 15.18 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.765, allocations: 304.9 kB / 2.226 GB, free: 14.88 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/1.768, allocations: 1.527 MB / 2.227 GB, free: 13.35 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/1.77, allocations: 1.835 MB / 2.229 GB, free: 11.42 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/1.775, allocations: 3.236 MB / 2.232 GB, free: 8.105 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/1.775, allocations: 4 kB / 2.232 GB, free: 8.102 MB / 1.654 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00873/1.784, allocations: 4.327 MB / 2.237 GB, free: 3.758 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/1.784, allocations: 165.6 kB / 2.237 GB, free: 3.59 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.784, allocations: 8 kB / 2.237 GB, free: 3.582 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/1.784, allocations: 89.09 kB / 2.237 GB, free: 3.492 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.786, allocations: 399.3 kB / 2.237 GB, free: 3.102 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/1.788, allocations: 1.545 MB / 2.239 GB, free: 1.438 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.792, allocations: 0.64 MB / 2.239 GB, free: 0.7969 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/1.792, allocations: 91.72 kB / 2.239 GB, free: 0.7109 MB / 1.654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.607/2.399, allocations: 2.161 MB / 2.242 GB, free: 0.597 GB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002481/2.401, allocations: 486.7 kB / 2.242 GB, free: 0.597 GB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/2.408, allocations: 3.398 MB / 2.245 GB, free: 0.5968 GB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/2.408, allocations: 12.12 kB / 2.245 GB, free: 0.5968 GB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/2.408, allocations: 3.562 kB / 2.245 GB, free: 0.5968 GB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/2.408, allocations: 6.641 kB / 2.245 GB, free: 0.5968 GB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/2.414, allocations: 4.071 MB / 2.249 GB, free: 0.5962 GB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/2.414, allocations: 3 kB / 2.249 GB, free: 0.5962 GB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/2.415, allocations: 179.2 kB / 2.25 GB, free: 0.5961 GB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/2.415, allocations: 81.17 kB / 2.25 GB, free: 0.5961 GB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/2.416, allocations: 40.91 kB / 2.25 GB, free: 0.5961 GB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/2.417, allocations: 1.554 MB / 2.251 GB, free: 0.5947 GB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/2.417, allocations: 3.25 kB / 2.251 GB, free: 0.5947 GB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006595/2.424, allocations: 3.089 MB / 2.254 GB, free: 0.5938 GB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004064/2.428, allocations: 1.726 MB / 2.256 GB, free: 0.593 GB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/2.429, allocations: 39.25 kB / 2.256 GB, free: 0.593 GB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/2.431, allocations: 413.7 kB / 2.256 GB, free: 0.5929 GB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/2.431, allocations: 104.7 kB / 2.256 GB, free: 0.5929 GB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/2.431, allocations: 64.22 kB / 2.256 GB, free: 0.5929 GB / 1.654 GB Notification: Performance of sorting global known variables: time 0.1565/2.588, allocations: 251.6 MB / 2.502 GB, free: 375.4 MB / 1.654 GB Notification: Performance of sort global known variables: time 2e-07/2.588, allocations: 0 / 2.502 GB, free: 375.4 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.004309/2.592, allocations: 1.418 MB / 2.503 GB, free: 374.1 MB / 1.654 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.008399/2.601, allocations: 4.529 MB / 2.508 GB, free: 369.9 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.00368/2.604, allocations: 3.331 MB / 2.511 GB, free: 366.6 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.604, allocations: 0 / 2.511 GB, free: 366.6 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/2.606, allocations: 1.53 MB / 2.513 GB, free: 365 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/2.61, allocations: 0.6183 MB / 2.513 GB, free: 364.4 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.988/4.597, allocations: 1.258 GB / 3.771 GB, free: 348.5 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/4.6, allocations: 3.014 MB / 3.774 GB, free: 345.4 MB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.003803/4.604, allocations: 1.701 MB / 3.776 GB, free: 343.9 MB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003494/4.607, allocations: 2.359 MB / 3.778 GB, free: 341.5 MB / 1.654 GB Notification: Performance of SimCode: time 8.62e-07/4.607, allocations: 0 / 3.778 GB, free: 341.5 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2997/4.907, allocations: 288.7 MB / 4.06 GB, free: 54.68 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.12/28.03, allocations: 8 kB / 4.06 GB, free: 54.68 MB / 1.654 GB " [Timeout remaining time 272] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 35.0419167811051]