Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001908/0.001908, allocations: 99.64 kB / 18.95 MB, free: 2.66 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.002251/0.002251, allocations: 215.9 kB / 22.24 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_12_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.002022/0.002022, allocations: 72.75 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009957/0.3213, allocations: 7.286 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.4987, allocations: 140.7 MB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.5001, allocations: 51.56 kB / 1.47 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005147/0.5052, allocations: 2.147 MB / 1.473 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.5087, allocations: 1.314 MB / 1.474 GB, free: 9.344 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.5122, allocations: 1.516 MB / 1.475 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006858/0.519, allocations: 5.894 MB / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.5206, allocations: 0.75 MB / 1.482 GB, free: 1.129 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.5239, allocations: 1.757 MB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.5269, allocations: 1.635 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009373/0.5278, allocations: 280 kB / 1.485 GB, free: 13.45 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/0.5341, allocations: 2.797 MB / 1.488 GB, free: 10.65 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003858/0.538, allocations: 3.091 MB / 1.491 GB, free: 7.555 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004806/0.5428, allocations: 2.376 MB / 1.493 GB, free: 5.168 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.5563, allocations: 10.99 MB / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5563, allocations: 0 / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5563, allocations: 0 / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001832/0.5565, allocations: 0 / 1.504 GB, free: 10.14 MB / 1.201 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.0216/0.5781, allocations: 8.552 MB / 1.513 GB, free: 1.508 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5781, allocations: 8.031 kB / 1.513 GB, free: 1.5 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003866/0.5785, allocations: 223.9 kB / 1.513 GB, free: 1.27 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.5831, allocations: 0.6924 MB / 1.513 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8179/1.401, allocations: 276.1 MB / 1.783 GB, free: 119 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/1.401, allocations: 138.9 kB / 1.783 GB, free: 118.9 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/1.401, allocations: 192 kB / 1.783 GB, free: 118.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/1.404, allocations: 2.154 MB / 1.786 GB, free: 116.4 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/1.404, allocations: 3.938 kB / 1.786 GB, free: 116.4 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/1.404, allocations: 68 kB / 1.786 GB, free: 116.3 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/1.404, allocations: 41.41 kB / 1.786 GB, free: 116.3 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/1.406, allocations: 1.886 MB / 1.787 GB, free: 114.4 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04134/1.448, allocations: 68.74 MB / 1.855 GB, free: 45.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/1.45, allocations: 1.556 MB / 1.856 GB, free: 43.94 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.452, allocations: 0.8779 MB / 1.857 GB, free: 43.05 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.839e-05/1.452, allocations: 28.97 kB / 1.857 GB, free: 43.02 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/1.453, allocations: 1.274 MB / 1.858 GB, free: 41.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.637e-06/1.453, allocations: 0.7656 kB / 1.858 GB, free: 41.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.007467/1.46, allocations: 3.449 MB / 1.862 GB, free: 38.21 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.461, allocations: 318.6 kB / 1.862 GB, free: 37.86 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3705/1.831, allocations: 316 MB / 2.171 GB, free: 9.852 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.831, allocations: 65.7 kB / 2.171 GB, free: 9.781 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.00345/1.835, allocations: 2.255 MB / 2.173 GB, free: 7.52 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/1.836, allocations: 400.6 kB / 2.173 GB, free: 7.125 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/1.836, allocations: 463.4 kB / 2.174 GB, free: 6.668 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.836, allocations: 305.1 kB / 2.174 GB, free: 6.367 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/1.839, allocations: 1.497 MB / 2.175 GB, free: 4.863 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/1.841, allocations: 1.939 MB / 2.177 GB, free: 2.793 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/1.846, allocations: 2.884 MB / 2.18 GB, free: 15.82 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.846, allocations: 3.938 kB / 2.18 GB, free: 15.82 MB / 1.592 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009411/1.855, allocations: 4.135 MB / 2.184 GB, free: 11.66 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.855, allocations: 141.6 kB / 2.184 GB, free: 11.52 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.855, allocations: 4 kB / 2.184 GB, free: 11.52 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/1.856, allocations: 93.09 kB / 2.184 GB, free: 11.42 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.858, allocations: 398.3 kB / 2.185 GB, free: 11.04 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.86, allocations: 1.539 MB / 2.186 GB, free: 9.379 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.864, allocations: 0.6437 MB / 2.187 GB, free: 8.734 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/1.865, allocations: 91.95 kB / 2.187 GB, free: 8.645 MB / 1.592 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.00369/1.869, allocations: 2.143 MB / 2.189 GB, free: 6.484 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002642/1.871, allocations: 484.7 kB / 2.189 GB, free: 6.008 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/1.878, allocations: 3.161 MB / 2.193 GB, free: 2.836 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.878, allocations: 12 kB / 2.193 GB, free: 2.824 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.878, allocations: 0 / 2.193 GB, free: 2.824 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.878, allocations: 11.92 kB / 2.193 GB, free: 2.812 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/1.884, allocations: 3.1 MB / 2.196 GB, free: 15.66 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.884, allocations: 8.062 kB / 2.196 GB, free: 15.66 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/1.885, allocations: 183.7 kB / 2.196 GB, free: 15.48 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/1.885, allocations: 72.78 kB / 2.196 GB, free: 15.4 MB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/1.886, allocations: 39.97 kB / 2.196 GB, free: 15.36 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/1.888, allocations: 1.558 MB / 2.197 GB, free: 13.69 MB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.888, allocations: 0.5781 kB / 2.197 GB, free: 13.69 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009122/1.897, allocations: 2.861 MB / 2.2 GB, free: 10.79 MB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006244/1.903, allocations: 1.874 MB / 2.202 GB, free: 8.91 MB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002835/1.906, allocations: 37.3 kB / 2.202 GB, free: 8.875 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004262/1.91, allocations: 415.9 kB / 2.202 GB, free: 8.469 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/1.911, allocations: 100.8 kB / 2.203 GB, free: 8.371 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/1.911, allocations: 59.97 kB / 2.203 GB, free: 8.312 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.8068/2.718, allocations: 251.5 MB / 2.448 GB, free: 405.2 MB / 1.623 GB Notification: Performance of sort global known variables: time 1.8e-07/2.718, allocations: 0 / 2.448 GB, free: 405.2 MB / 1.623 GB Notification: Performance of remove unused functions: time 0.005239/2.723, allocations: 1.424 MB / 2.45 GB, free: 403.9 MB / 1.623 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.01022/2.733, allocations: 4.316 MB / 2.454 GB, free: 400.3 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.004729/2.738, allocations: 3.238 MB / 2.457 GB, free: 397.1 MB / 1.623 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/2.738, allocations: 0 / 2.457 GB, free: 397.1 MB / 1.623 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/2.74, allocations: 1.449 MB / 2.458 GB, free: 395.6 MB / 1.623 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/2.745, allocations: 0.6264 MB / 2.459 GB, free: 395 MB / 1.623 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.244/4.989, allocations: 1.258 GB / 3.717 GB, free: 355 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/4.992, allocations: 2.484 MB / 3.719 GB, free: 352.5 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.004808/4.996, allocations: 1.689 MB / 3.721 GB, free: 351 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004727/5.001, allocations: 2.354 MB / 3.723 GB, free: 348.6 MB / 1.623 GB Notification: Performance of SimCode: time 1.733e-06/5.001, allocations: 4 kB / 3.723 GB, free: 348.6 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3545/5.356, allocations: 294.5 MB / 4.011 GB, free: 55.67 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/27.45, allocations: 2.672 kB / 4.011 GB, free: 55.67 MB / 1.623 GB " [Timeout remaining time 272] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 34.92148176001501]