Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 109.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.834/2.834, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 59.91 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7813, allocations: 160.7 MB / 1.213 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01227/0.7935, allocations: 8.28 MB / 1.221 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1912/0.9848, allocations: 160 MB / 1.377 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.9869, allocations: 39.81 kB / 1.377 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006219/0.9931, allocations: 2.019 MB / 1.379 GB, free: 13.22 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.9977, allocations: 1.287 MB / 1.381 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/1.002, allocations: 1.455 MB / 1.382 GB, free: 10.48 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007226/1.01, allocations: 5.403 MB / 1.387 GB, free: 5.059 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/1.011, allocations: 0.7805 MB / 1.388 GB, free: 4.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/1.015, allocations: 1.699 MB / 1.39 GB, free: 2.527 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/1.017, allocations: 1.608 MB / 1.391 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008973/1.018, allocations: 276 kB / 1.391 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/1.023, allocations: 2.43 MB / 1.394 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003503/1.027, allocations: 3.091 MB / 1.397 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005166/1.032, allocations: 2.935 MB / 1.4 GB, free: 8.164 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01628/1.048, allocations: 10.86 MB / 1.41 GB, free: 13.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.048, allocations: 0 / 1.41 GB, free: 13.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.186e-06/1.048, allocations: 0 / 1.41 GB, free: 13.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003768/1.049, allocations: 4 kB / 1.41 GB, free: 13.27 MB / 1.123 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.02446/1.073, allocations: 8.456 MB / 1.419 GB, free: 4.715 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.073, allocations: 8.625 kB / 1.419 GB, free: 4.707 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005051/1.074, allocations: 223.9 kB / 1.419 GB, free: 4.477 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/1.077, allocations: 0.6261 MB / 1.419 GB, free: 3.848 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9529/2.03, allocations: 276.1 MB / 1.689 GB, free: 319 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/2.03, allocations: 144.5 kB / 1.689 GB, free: 318.9 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/2.031, allocations: 186.2 kB / 1.689 GB, free: 318.7 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/2.033, allocations: 1.96 MB / 1.691 GB, free: 316.7 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/2.033, allocations: 0 / 1.691 GB, free: 316.7 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/2.033, allocations: 67.98 kB / 1.691 GB, free: 316.6 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/2.033, allocations: 36 kB / 1.691 GB, free: 316.6 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/2.036, allocations: 1.99 MB / 1.693 GB, free: 314.6 MB / 1.311 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05079/2.087, allocations: 70.34 MB / 1.762 GB, free: 244 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/2.09, allocations: 1.579 MB / 1.764 GB, free: 242.4 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009976/2.091, allocations: 0.9085 MB / 1.764 GB, free: 241.5 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/2.091, allocations: 33.11 kB / 1.765 GB, free: 241.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/2.092, allocations: 1.203 MB / 1.766 GB, free: 240.2 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 2.835e-06/2.092, allocations: 0 / 1.766 GB, free: 240.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.008075/2.1, allocations: 3.746 MB / 1.769 GB, free: 236.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/2.1, allocations: 350.2 kB / 1.77 GB, free: 236.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2924/2.393, allocations: 315.9 MB / 2.078 GB, free: 116 kB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0004819/2.393, allocations: 69.69 kB / 2.078 GB, free: 40 kB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.003854/2.397, allocations: 2.248 MB / 2.08 GB, free: 13.79 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.000674/2.398, allocations: 400.6 kB / 2.081 GB, free: 13.39 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000909/2.399, allocations: 467 kB / 2.081 GB, free: 12.93 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001345/2.399, allocations: 305.1 kB / 2.082 GB, free: 12.63 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/2.401, allocations: 1.519 MB / 2.083 GB, free: 11.11 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/2.404, allocations: 1.839 MB / 2.085 GB, free: 9.18 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005075/2.409, allocations: 3.228 MB / 2.088 GB, free: 5.863 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/2.409, allocations: 4 kB / 2.088 GB, free: 5.859 MB / 1.404 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01016/2.419, allocations: 4.325 MB / 2.092 GB, free: 1.516 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002445/2.419, allocations: 169.6 kB / 2.092 GB, free: 1.344 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/2.419, allocations: 4 kB / 2.092 GB, free: 1.34 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006725/2.42, allocations: 97.03 kB / 2.093 GB, free: 1.242 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/2.422, allocations: 391.4 kB / 2.093 GB, free: 0.8594 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/2.424, allocations: 1.641 MB / 2.094 GB, free: 15.07 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/2.429, allocations: 0.6421 MB / 2.095 GB, free: 14.43 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006349/2.43, allocations: 91.91 kB / 2.095 GB, free: 14.34 MB / 1.42 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.004911/2.435, allocations: 2.172 MB / 2.097 GB, free: 12.15 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0034/2.438, allocations: 488.7 kB / 2.098 GB, free: 11.67 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007439/2.446, allocations: 3.388 MB / 2.101 GB, free: 8.262 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/2.446, allocations: 12 kB / 2.101 GB, free: 8.25 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/2.446, allocations: 3.75 kB / 2.101 GB, free: 8.25 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/2.446, allocations: 11.91 kB / 2.101 GB, free: 8.238 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008942/2.455, allocations: 4.086 MB / 2.105 GB, free: 4.102 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/2.455, allocations: 1.859 kB / 2.105 GB, free: 4.102 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/2.456, allocations: 187.8 kB / 2.105 GB, free: 3.918 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/2.456, allocations: 72.78 kB / 2.105 GB, free: 3.844 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/2.457, allocations: 43.95 kB / 2.105 GB, free: 3.801 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/2.459, allocations: 1.67 MB / 2.107 GB, free: 1.984 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/2.459, allocations: 0 / 2.107 GB, free: 1.984 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008385/2.467, allocations: 3.085 MB / 2.11 GB, free: 14.87 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006102/2.473, allocations: 1.797 MB / 2.112 GB, free: 13.05 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002545/2.476, allocations: 32 kB / 2.112 GB, free: 13.02 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/2.48, allocations: 411.9 kB / 2.112 GB, free: 12.61 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004052/2.48, allocations: 96.88 kB / 2.112 GB, free: 12.52 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/2.48, allocations: 59.97 kB / 2.112 GB, free: 12.46 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.9322/3.413, allocations: 251.5 MB / 2.358 GB, free: 383.6 MB / 1.482 GB Notification: Performance of sort global known variables: time 4.01e-07/3.413, allocations: 4 kB / 2.358 GB, free: 383.6 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.005545/3.418, allocations: 1.419 MB / 2.359 GB, free: 382.4 MB / 1.482 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.009648/3.428, allocations: 4.524 MB / 2.364 GB, free: 378.5 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.004306/3.432, allocations: 3.335 MB / 2.367 GB, free: 375.2 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/3.432, allocations: 0 / 2.367 GB, free: 375.2 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/3.434, allocations: 1.531 MB / 2.369 GB, free: 373.6 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/3.439, allocations: 0.6157 MB / 2.369 GB, free: 373 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.072/5.511, allocations: 1.258 GB / 3.627 GB, free: 220.8 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/5.514, allocations: 3.015 MB / 3.63 GB, free: 217.8 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.004111/5.518, allocations: 1.686 MB / 3.632 GB, free: 216.2 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/5.523, allocations: 2.351 MB / 3.634 GB, free: 213.8 MB / 1.482 GB Notification: Performance of SimCode: time 9.62e-07/5.523, allocations: 0 / 3.634 GB, free: 213.8 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9628/6.485, allocations: 287.5 MB / 3.915 GB, free: 0.4896 GB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.83/32.31, allocations: 10.75 kB / 3.915 GB, free: 0.4896 GB / 1.482 GB " [Timeout remaining time 267] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 39.39315735688433]