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.001241/0.001241, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001507/0.001507, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 3.247/3.247, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",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.001931/0.001931, allocations: 63.84 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3773, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01155/0.3888, allocations: 8.335 MB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2189/0.6078, allocations: 163.1 MB / 1.513 GB, free: 4.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.6098, allocations: 55.56 kB / 1.513 GB, free: 4.355 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006076/0.6159, allocations: 2.202 MB / 1.515 GB, free: 2.145 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.6201, allocations: 1.31 MB / 1.516 GB, free: 0.832 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.625, allocations: 1.538 MB / 1.518 GB, free: 15.3 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.6354, allocations: 5.89 MB / 1.523 GB, free: 9.398 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.6374, allocations: 0.7656 MB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.6411, allocations: 1.726 MB / 1.526 GB, free: 6.859 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.6447, allocations: 1.643 MB / 1.527 GB, free: 5.211 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.646, allocations: 280 kB / 1.528 GB, free: 4.938 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007396/0.6534, allocations: 2.883 MB / 1.531 GB, free: 2.051 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.004597/0.658, allocations: 3.087 MB / 1.534 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.006004/0.664, allocations: 2.947 MB / 1.536 GB, free: 12 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.6805, allocations: 10.96 MB / 1.547 GB, free: 1.004 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.6805, allocations: 0 / 1.547 GB, free: 1.004 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6805, allocations: 0 / 1.547 GB, free: 1.004 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0003365/0.6808, allocations: 0 / 1.547 GB, free: 1.004 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02584/0.7066, allocations: 8.423 MB / 1.555 GB, free: 8.496 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 7.206e-05/0.7067, allocations: 8.031 kB / 1.555 GB, free: 8.488 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.277e-05/0.7068, allocations: 39.11 kB / 1.555 GB, free: 8.449 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004446/0.7072, allocations: 223.9 kB / 1.556 GB, free: 8.219 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/0.7128, allocations: 0.6963 MB / 1.556 GB, free: 7.52 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9218/1.635, allocations: 276.1 MB / 1.826 GB, free: 64.43 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/1.635, allocations: 134.9 kB / 1.826 GB, free: 64.3 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/1.635, allocations: 188 kB / 1.826 GB, free: 64.12 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/1.639, allocations: 1.961 MB / 1.828 GB, free: 62.08 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/1.639, allocations: 0 / 1.828 GB, free: 62.08 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.639, allocations: 68 kB / 1.828 GB, free: 62.01 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/1.639, allocations: 36 kB / 1.828 GB, free: 61.98 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/1.642, allocations: 1.988 MB / 1.83 GB, free: 59.98 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05302/1.695, allocations: 70.37 MB / 1.899 GB, free: 5.367 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/1.698, allocations: 1.578 MB / 1.9 GB, free: 3.793 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/1.7, allocations: 0.9114 MB / 1.901 GB, free: 2.875 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/1.7, allocations: 36.94 kB / 1.901 GB, free: 2.84 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002108/1.702, allocations: 1.192 MB / 1.903 GB, free: 1.629 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 2.494e-06/1.702, allocations: 0 / 1.903 GB, free: 1.629 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.00984/1.712, allocations: 3.673 MB / 1.906 GB, free: 13.94 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002775/1.713, allocations: 342.5 kB / 1.907 GB, free: 13.55 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3925/2.105, allocations: 316 MB / 2.215 GB, free: 1.547 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.0004729/2.106, allocations: 65.7 kB / 2.215 GB, free: 1.477 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.00356/2.109, allocations: 2.249 MB / 2.217 GB, free: 15.22 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006234/2.11, allocations: 408.6 kB / 2.218 GB, free: 14.82 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007721/2.111, allocations: 459.4 kB / 2.218 GB, free: 14.36 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.0001278/2.111, allocations: 305.1 kB / 2.218 GB, free: 14.06 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/2.113, allocations: 1.534 MB / 2.22 GB, free: 12.53 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/2.116, allocations: 1.837 MB / 2.222 GB, free: 10.61 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004791/2.12, allocations: 3.228 MB / 2.225 GB, free: 7.293 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/2.12, allocations: 0 / 2.225 GB, free: 7.293 MB / 1.639 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01052/2.131, allocations: 4.331 MB / 2.229 GB, free: 2.945 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002135/2.131, allocations: 169.6 kB / 2.229 GB, free: 2.773 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/2.131, allocations: 4 kB / 2.229 GB, free: 2.77 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/2.132, allocations: 101 kB / 2.229 GB, free: 2.668 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/2.133, allocations: 391.4 kB / 2.23 GB, free: 2.285 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/2.136, allocations: 1.538 MB / 2.231 GB, free: 0.6211 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.699/2.835, allocations: 0.633 MB / 2.232 GB, free: 0.5902 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005892/2.835, allocations: 88.59 kB / 2.232 GB, free: 0.5902 GB / 1.639 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.004313/2.84, allocations: 2.164 MB / 2.234 GB, free: 0.59 GB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003143/2.843, allocations: 488.4 kB / 2.235 GB, free: 0.59 GB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008019/2.851, allocations: 3.401 MB / 2.238 GB, free: 0.5899 GB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/2.851, allocations: 11.12 kB / 2.238 GB, free: 0.5899 GB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/2.851, allocations: 2.641 kB / 2.238 GB, free: 0.5899 GB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/2.851, allocations: 10.92 kB / 2.238 GB, free: 0.5899 GB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008567/2.859, allocations: 4.066 MB / 2.242 GB, free: 0.589 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/2.859, allocations: 7.281 kB / 2.242 GB, free: 0.589 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/2.86, allocations: 188.1 kB / 2.242 GB, free: 0.589 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/2.861, allocations: 69.42 kB / 2.242 GB, free: 0.589 GB / 1.639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/2.861, allocations: 43.5 kB / 2.242 GB, free: 0.589 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/2.863, allocations: 1.563 MB / 2.244 GB, free: 0.5876 GB / 1.639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/2.863, allocations: 0.5 kB / 2.244 GB, free: 0.5876 GB / 1.639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/2.871, allocations: 3.091 MB / 2.247 GB, free: 0.5867 GB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005004/2.876, allocations: 1.722 MB / 2.248 GB, free: 0.5859 GB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002531/2.879, allocations: 31.72 kB / 2.248 GB, free: 0.5858 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003728/2.882, allocations: 423.2 kB / 2.249 GB, free: 0.5858 GB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/2.883, allocations: 96.11 kB / 2.249 GB, free: 0.5858 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/2.883, allocations: 66.5 kB / 2.249 GB, free: 0.5858 GB / 1.639 GB Notification: Performance of sorting global known variables: time 0.1663/3.049, allocations: 251.5 MB / 2.495 GB, free: 366.6 MB / 1.639 GB Notification: Performance of sort global known variables: time 2.1e-07/3.049, allocations: 0 / 2.495 GB, free: 366.6 MB / 1.639 GB Notification: Performance of remove unused functions: time 0.004654/3.054, allocations: 1.422 MB / 2.496 GB, free: 365.3 MB / 1.639 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.008568/3.062, allocations: 4.542 MB / 2.5 GB, free: 361 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.004073/3.066, allocations: 3.329 MB / 2.504 GB, free: 357.7 MB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/3.066, allocations: 3.375 kB / 2.504 GB, free: 357.7 MB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/3.068, allocations: 1.531 MB / 2.505 GB, free: 356.1 MB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/3.073, allocations: 0.6223 MB / 2.506 GB, free: 355.5 MB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.314/5.387, allocations: 1.258 GB / 3.764 GB, free: 327.3 MB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003076/5.39, allocations: 3.018 MB / 3.767 GB, free: 324.2 MB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.004734/5.395, allocations: 1.696 MB / 3.768 GB, free: 322.7 MB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005086/5.4, allocations: 2.362 MB / 3.771 GB, free: 320.3 MB / 1.639 GB Notification: Performance of SimCode: time 1.373e-06/5.4, allocations: 0.7656 kB / 3.771 GB, free: 320.3 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.35/5.75, allocations: 288.7 MB / 4.053 GB, free: 33.44 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.6/32.35, allocations: 3.438 kB / 4.053 GB, free: 33.44 MB / 1.639 GB " [Timeout remaining time 267] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 40.61998874798883]