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.001243/0.001243, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001408/0.001408, allocations: 218.3 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.111/3.111, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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="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.001851/0.001851, allocations: 67.33 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01033/0.3198, allocations: 7.269 MB / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1801/0.4999, allocations: 140.7 MB / 1.49 GB, free: 11.42 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.5015, allocations: 47.62 kB / 1.49 GB, free: 11.37 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.5065, allocations: 2.138 MB / 1.492 GB, free: 9.227 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.51, allocations: 1.317 MB / 1.493 GB, free: 7.906 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.5134, allocations: 1.518 MB / 1.495 GB, free: 6.395 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006457/0.5199, allocations: 5.897 MB / 1.5 GB, free: 500 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.5213, allocations: 0.7539 MB / 1.501 GB, free: 15.69 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.5242, allocations: 1.738 MB / 1.503 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.5266, allocations: 1.639 MB / 1.504 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.5271, allocations: 280 kB / 1.505 GB, free: 12.03 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.5315, allocations: 2.801 MB / 1.507 GB, free: 9.227 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002752/0.5343, allocations: 3.095 MB / 1.51 GB, free: 6.125 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002996/0.5373, allocations: 2.368 MB / 1.513 GB, free: 3.746 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.5504, allocations: 10.99 MB / 1.524 GB, free: 8.719 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.5504, allocations: 4 kB / 1.524 GB, free: 8.715 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5504, allocations: 0 / 1.524 GB, free: 8.715 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001884/0.5506, allocations: 0 / 1.524 GB, free: 8.715 MB / 1.217 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.02307/0.5736, allocations: 8.548 MB / 1.532 GB, free: 84 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5737, allocations: 8.031 kB / 1.532 GB, free: 76 kB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.512e-05/0.5737, allocations: 43.05 kB / 1.532 GB, free: 32 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005402/0.5743, allocations: 219.9 kB / 1.532 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.5789, allocations: 0.7041 MB / 1.533 GB, free: 15.1 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8619/1.441, allocations: 276.2 MB / 1.803 GB, free: 86.97 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.441, allocations: 138.9 kB / 1.803 GB, free: 86.84 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003946/1.441, allocations: 192 kB / 1.803 GB, free: 86.65 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/1.444, allocations: 2.154 MB / 1.805 GB, free: 84.35 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/1.444, allocations: 4 kB / 1.805 GB, free: 84.34 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.444, allocations: 64 kB / 1.805 GB, free: 84.28 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.444, allocations: 36 kB / 1.805 GB, free: 84.25 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/1.447, allocations: 1.929 MB / 1.807 GB, free: 82.3 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04097/1.488, allocations: 68.75 MB / 1.874 GB, free: 13.45 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/1.49, allocations: 1.555 MB / 1.876 GB, free: 11.88 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/1.492, allocations: 0.8761 MB / 1.876 GB, free: 10.99 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/1.492, allocations: 29.52 kB / 1.876 GB, free: 10.96 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/1.493, allocations: 1.27 MB / 1.878 GB, free: 9.645 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.878e-06/1.493, allocations: 0 / 1.878 GB, free: 9.645 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.007209/1.5, allocations: 3.446 MB / 1.881 GB, free: 6.168 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.5, allocations: 318.5 kB / 1.881 GB, free: 5.809 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3863/1.887, allocations: 316 MB / 2.19 GB, free: 9.805 MB / 1.607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007024/1.887, allocations: 65.7 kB / 2.19 GB, free: 9.734 MB / 1.607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00468/1.892, allocations: 2.256 MB / 2.192 GB, free: 7.473 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/1.893, allocations: 401.7 kB / 2.193 GB, free: 7.078 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/1.894, allocations: 463.4 kB / 2.193 GB, free: 6.617 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.894, allocations: 305.1 kB / 2.193 GB, free: 6.316 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/1.897, allocations: 1.505 MB / 2.195 GB, free: 4.805 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/1.9, allocations: 1.938 MB / 2.197 GB, free: 2.746 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/1.904, allocations: 2.885 MB / 2.199 GB, free: 15.77 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/1.904, allocations: 8 kB / 2.199 GB, free: 15.77 MB / 1.623 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01023/1.915, allocations: 4.126 MB / 2.204 GB, free: 11.62 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001884/1.915, allocations: 142.5 kB / 2.204 GB, free: 11.47 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.915, allocations: 12 kB / 2.204 GB, free: 11.46 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/1.916, allocations: 88.72 kB / 2.204 GB, free: 11.37 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.917, allocations: 395.4 kB / 2.204 GB, free: 10.98 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.92, allocations: 1.531 MB / 2.206 GB, free: 9.332 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004365/1.924, allocations: 0.6482 MB / 2.206 GB, free: 8.684 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/1.924, allocations: 87.97 kB / 2.206 GB, free: 8.598 MB / 1.623 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.00415/1.928, allocations: 2.144 MB / 2.208 GB, free: 6.438 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003257/1.932, allocations: 484.7 kB / 2.209 GB, free: 5.961 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007156/1.939, allocations: 3.164 MB / 2.212 GB, free: 2.781 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.939, allocations: 13.42 kB / 2.212 GB, free: 2.77 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.939, allocations: 0 / 2.212 GB, free: 2.77 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.939, allocations: 11.91 kB / 2.212 GB, free: 2.758 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008785/1.948, allocations: 3.099 MB / 2.215 GB, free: 15.61 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.948, allocations: 0 / 2.215 GB, free: 15.61 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/1.949, allocations: 187.8 kB / 2.215 GB, free: 15.43 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/1.949, allocations: 68.8 kB / 2.215 GB, free: 15.36 MB / 1.639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.949, allocations: 43.91 kB / 2.215 GB, free: 15.31 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/1.951, allocations: 1.549 MB / 2.217 GB, free: 13.65 MB / 1.639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.951, allocations: 1.859 kB / 2.217 GB, free: 13.65 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007289/1.959, allocations: 2.858 MB / 2.22 GB, free: 10.75 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005082/1.964, allocations: 1.886 MB / 2.221 GB, free: 8.863 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/1.966, allocations: 28 kB / 2.221 GB, free: 8.836 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/1.97, allocations: 419.9 kB / 2.222 GB, free: 8.426 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/1.97, allocations: 96.58 kB / 2.222 GB, free: 8.336 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.97, allocations: 63.97 kB / 2.222 GB, free: 8.273 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.8186/2.789, allocations: 251.5 MB / 2.468 GB, free: 390.7 MB / 1.639 GB Notification: Performance of sort global known variables: time 3.8e-07/2.789, allocations: 0 / 2.468 GB, free: 390.7 MB / 1.639 GB Notification: Performance of remove unused functions: time 0.005309/2.794, allocations: 1.428 MB / 2.469 GB, free: 389.5 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.01026/2.804, allocations: 4.327 MB / 2.473 GB, free: 385.9 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.004056/2.808, allocations: 3.237 MB / 2.476 GB, free: 382.6 MB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/2.808, allocations: 3.594 kB / 2.476 GB, free: 382.6 MB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/2.81, allocations: 1.446 MB / 2.478 GB, free: 381.2 MB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/2.814, allocations: 0.6197 MB / 2.479 GB, free: 380.6 MB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.25/5.064, allocations: 1.258 GB / 3.736 GB, free: 375.4 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003609/5.068, allocations: 2.483 MB / 3.739 GB, free: 372.9 MB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.004271/5.072, allocations: 1.693 MB / 3.74 GB, free: 371.3 MB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004609/5.077, allocations: 2.354 MB / 3.742 GB, free: 369 MB / 1.654 GB Notification: Performance of SimCode: time 1.203e-06/5.077, allocations: 0 / 3.742 GB, free: 369 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/5.395, allocations: 292.6 MB / 4.028 GB, free: 78.22 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.52/29.92, allocations: 11.86 kB / 4.028 GB, free: 78.21 MB / 1.654 GB " [Timeout remaining time 270] (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: 37.754783276002854]