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.001486/0.001486, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001696/0.001696, allocations: 211.6 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.969/2.969, allocations: 0.4892 GB / 0.7944 GB, free: 35.47 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.001982/0.001982, allocations: 68.39 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3002, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00985/0.31, allocations: 7.278 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.4937, allocations: 140.8 MB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4953, allocations: 55.56 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005121/0.5004, allocations: 2.101 MB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.5039, allocations: 1.309 MB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.5074, allocations: 1.502 MB / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006591/0.514, allocations: 5.789 MB / 1.48 GB, free: 2.977 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.5156, allocations: 0.7188 MB / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.5186, allocations: 1.757 MB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.5213, allocations: 1.527 MB / 1.484 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007734/0.5221, allocations: 284 kB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.5269, allocations: 2.594 MB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003112/0.5301, allocations: 3.087 MB / 1.49 GB, free: 8.945 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003436/0.5335, allocations: 2.376 MB / 1.492 GB, free: 6.559 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.5462, allocations: 10.97 MB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5463, allocations: 0 / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5463, allocations: 0 / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001669/0.5464, allocations: 4 kB / 1.503 GB, free: 11.55 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.0185/0.5649, allocations: 8.548 MB / 1.511 GB, free: 2.918 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.565, allocations: 8.031 kB / 1.511 GB, free: 2.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003026/0.5653, allocations: 223.9 kB / 1.511 GB, free: 2.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.5685, allocations: 0.6963 MB / 1.512 GB, free: 1.98 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.856/1.425, allocations: 276.1 MB / 1.782 GB, free: 121 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.425, allocations: 138.9 kB / 1.782 GB, free: 120.9 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/1.425, allocations: 184 kB / 1.782 GB, free: 120.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/1.428, allocations: 2.162 MB / 1.784 GB, free: 118.4 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/1.428, allocations: 7.938 kB / 1.784 GB, free: 118.4 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.428, allocations: 64 kB / 1.784 GB, free: 118.3 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.428, allocations: 36 kB / 1.784 GB, free: 118.3 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/1.431, allocations: 1.882 MB / 1.786 GB, free: 116.4 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04369/1.474, allocations: 68.76 MB / 1.853 GB, free: 47.54 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/1.477, allocations: 1.55 MB / 1.855 GB, free: 45.98 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.478, allocations: 0.8761 MB / 1.856 GB, free: 45.09 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/1.478, allocations: 28.98 kB / 1.856 GB, free: 45.06 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/1.479, allocations: 1.274 MB / 1.857 GB, free: 43.73 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.717e-06/1.479, allocations: 2.188 kB / 1.857 GB, free: 43.73 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.007541/1.487, allocations: 3.449 MB / 1.86 GB, free: 40.26 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.487, allocations: 322.5 kB / 1.861 GB, free: 39.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3601/1.847, allocations: 316 MB / 2.169 GB, free: 11.89 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.0004206/1.848, allocations: 69.69 kB / 2.169 GB, free: 11.82 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.003906/1.852, allocations: 2.253 MB / 2.171 GB, free: 9.559 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006568/1.852, allocations: 396.7 kB / 2.172 GB, free: 9.168 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/1.853, allocations: 463.4 kB / 2.172 GB, free: 8.711 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.854, allocations: 309.1 kB / 2.173 GB, free: 8.406 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.856, allocations: 1.497 MB / 2.174 GB, free: 6.902 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/1.859, allocations: 1.939 MB / 2.176 GB, free: 4.832 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/1.863, allocations: 2.884 MB / 2.179 GB, free: 1.863 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/1.863, allocations: 1.219 kB / 2.179 GB, free: 1.863 MB / 1.576 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009908/1.873, allocations: 4.131 MB / 2.183 GB, free: 13.7 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/1.873, allocations: 141.6 kB / 2.183 GB, free: 13.56 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.873, allocations: 4 kB / 2.183 GB, free: 13.55 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/1.874, allocations: 98.17 kB / 2.183 GB, free: 13.46 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/1.876, allocations: 394.3 kB / 2.183 GB, free: 13.07 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/1.878, allocations: 1.537 MB / 2.185 GB, free: 11.41 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.882, allocations: 0.6437 MB / 2.186 GB, free: 10.77 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/1.882, allocations: 87.97 kB / 2.186 GB, free: 10.69 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.003653/1.886, allocations: 2.141 MB / 2.188 GB, free: 8.527 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002807/1.889, allocations: 484.7 kB / 2.188 GB, free: 8.051 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006251/1.895, allocations: 3.172 MB / 2.191 GB, free: 4.871 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.895, allocations: 19.16 kB / 2.191 GB, free: 4.855 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.895, allocations: 0 / 2.191 GB, free: 4.855 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.895, allocations: 11.92 kB / 2.191 GB, free: 4.844 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00731/1.902, allocations: 3.104 MB / 2.194 GB, free: 1.691 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.902, allocations: 4 kB / 2.194 GB, free: 1.688 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/1.903, allocations: 183.7 kB / 2.195 GB, free: 1.508 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/1.904, allocations: 74.19 kB / 2.195 GB, free: 1.434 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/1.904, allocations: 39.97 kB / 2.195 GB, free: 1.395 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/1.906, allocations: 1.545 MB / 2.196 GB, free: 15.73 MB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.906, allocations: 0 / 2.196 GB, free: 15.73 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007045/1.913, allocations: 2.857 MB / 2.199 GB, free: 12.83 MB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005529/1.918, allocations: 1.882 MB / 2.201 GB, free: 10.95 MB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/1.92, allocations: 28 kB / 2.201 GB, free: 10.92 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003334/1.924, allocations: 419.9 kB / 2.201 GB, free: 10.51 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/1.924, allocations: 104.8 kB / 2.201 GB, free: 10.41 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.924, allocations: 59.97 kB / 2.201 GB, free: 10.35 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.752/2.676, allocations: 251.5 MB / 2.447 GB, free: 407.9 MB / 1.623 GB Notification: Performance of sort global known variables: time 2.41e-07/2.676, allocations: 4.656 kB / 2.447 GB, free: 407.9 MB / 1.623 GB Notification: Performance of remove unused functions: time 0.005083/2.681, allocations: 1.425 MB / 2.448 GB, free: 406.6 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.008663/2.69, allocations: 4.319 MB / 2.453 GB, free: 403 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.003942/2.694, allocations: 3.24 MB / 2.456 GB, free: 399.8 MB / 1.623 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/2.694, allocations: 0 / 2.456 GB, free: 399.8 MB / 1.623 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/2.695, allocations: 1.446 MB / 2.457 GB, free: 398.3 MB / 1.623 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/2.7, allocations: 0.6264 MB / 2.458 GB, free: 397.7 MB / 1.623 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.059/4.759, allocations: 1.258 GB / 3.715 GB, free: 359 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/4.761, allocations: 2.483 MB / 3.718 GB, free: 356.5 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.003981/4.765, allocations: 1.687 MB / 3.719 GB, free: 354.9 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00397/4.769, allocations: 2.366 MB / 3.722 GB, free: 352.6 MB / 1.623 GB Notification: Performance of SimCode: time 1.322e-06/4.769, allocations: 0 / 3.722 GB, free: 352.6 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/5.098, allocations: 294.1 MB / 4.009 GB, free: 60.03 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.61/26.7, allocations: 2.922 kB / 4.009 GB, free: 60.03 MB / 1.623 GB " [Timeout remaining time 273] (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: 33.83178522391245]