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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 469.4 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.62 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2555, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009/0.2645, allocations: 8.202 MB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1549/0.4194, allocations: 159.5 MB / 1.227 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.4209, allocations: 39.81 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006048/0.427, allocations: 1.995 MB / 1.229 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003984/0.431, allocations: 1.275 MB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.4345, allocations: 1.431 MB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005197/0.4397, allocations: 5.433 MB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.4415, allocations: 1.116 MB / 1.238 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.4439, allocations: 1.679 MB / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/0.4462, allocations: 1.504 MB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006378/0.4468, allocations: 276 kB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.4507, allocations: 2.317 MB / 1.244 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002515/0.4532, allocations: 3.021 MB / 1.247 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.5181/0.9713, allocations: 2.926 MB / 1.25 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01935/0.9907, allocations: 10.71 MB / 1.26 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9908, allocations: 0 / 1.26 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9908, allocations: 1.969 kB / 1.26 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002659/0.9911, allocations: 1.359 kB / 1.26 GB, free: 11.8 MB / 0.9981 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.02472/1.016, allocations: 8.277 MB / 1.268 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.016, allocations: 9.375 kB / 1.268 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003555/1.016, allocations: 222.2 kB / 1.269 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/1.02, allocations: 0.5985 MB / 1.269 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2738/1.294, allocations: 279.4 MB / 1.542 GB, free: 6.086 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.294, allocations: 138.9 kB / 1.542 GB, free: 5.949 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/1.294, allocations: 188.8 kB / 1.542 GB, free: 5.766 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/1.297, allocations: 1.963 MB / 1.544 GB, free: 3.738 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.297, allocations: 4.406 kB / 1.544 GB, free: 3.738 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/1.297, allocations: 60 kB / 1.544 GB, free: 3.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/1.298, allocations: 36 kB / 1.544 GB, free: 3.645 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/1.301, allocations: 1.984 MB / 1.546 GB, free: 1.668 MB / 1.201 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.06091/1.361, allocations: 70.38 MB / 1.615 GB, free: 11.25 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/1.365, allocations: 1.786 MB / 1.617 GB, free: 9.48 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.366, allocations: 1.079 MB / 1.618 GB, free: 8.398 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-05/1.366, allocations: 40.06 kB / 1.618 GB, free: 8.371 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/1.368, allocations: 1.197 MB / 1.619 GB, free: 7.16 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 2.936e-06/1.368, allocations: 0 / 1.619 GB, free: 7.16 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.00946/1.377, allocations: 3.693 MB / 1.623 GB, free: 3.438 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/1.377, allocations: 343.6 kB / 1.623 GB, free: 3.055 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8548/2.232, allocations: 315.9 MB / 1.932 GB, free: 341.9 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0004696/2.233, allocations: 67.11 kB / 1.932 GB, free: 341.8 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.002749/2.235, allocations: 2.23 MB / 1.934 GB, free: 340 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.000457/2.236, allocations: 384.7 kB / 1.934 GB, free: 339.9 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/2.236, allocations: 456.6 kB / 1.935 GB, free: 339.5 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 3.384e-05/2.237, allocations: 305.1 kB / 1.935 GB, free: 339.2 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/2.238, allocations: 1.525 MB / 1.936 GB, free: 337.8 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/2.24, allocations: 1.837 MB / 1.938 GB, free: 336.1 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/2.244, allocations: 3.227 MB / 1.941 GB, free: 333.1 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.244, allocations: 4.672 kB / 1.941 GB, free: 333.1 MB / 1.42 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008133/2.252, allocations: 4.282 MB / 1.946 GB, free: 329.2 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/2.252, allocations: 167.1 kB / 1.946 GB, free: 329 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/2.252, allocations: 10.91 kB / 1.946 GB, free: 329 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/2.252, allocations: 93.67 kB / 1.946 GB, free: 329 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/2.254, allocations: 389.1 kB / 1.946 GB, free: 328.7 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/2.256, allocations: 1.645 MB / 1.948 GB, free: 327 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/2.26, allocations: 0.637 MB / 1.948 GB, free: 326.3 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/2.261, allocations: 89.05 kB / 1.948 GB, free: 326.3 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.003214/2.264, allocations: 2.163 MB / 1.951 GB, free: 324.3 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003261/2.267, allocations: 461.8 kB / 1.951 GB, free: 323.9 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/2.273, allocations: 3.375 MB / 1.954 GB, free: 320.9 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/2.273, allocations: 13 kB / 1.954 GB, free: 320.9 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/2.273, allocations: 0 / 1.954 GB, free: 320.9 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/2.273, allocations: 11.17 kB / 1.954 GB, free: 320.9 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/2.279, allocations: 4.089 MB / 1.958 GB, free: 317.6 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/2.279, allocations: 0 / 1.958 GB, free: 317.6 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/2.28, allocations: 187.2 kB / 1.959 GB, free: 317.5 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/2.28, allocations: 73.59 kB / 1.959 GB, free: 317.4 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/2.28, allocations: 39.97 kB / 1.959 GB, free: 317.3 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/2.282, allocations: 1.66 MB / 1.96 GB, free: 315.6 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/2.282, allocations: 0 / 1.96 GB, free: 315.6 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00658/2.288, allocations: 3.04 MB / 1.963 GB, free: 312.5 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003811/2.292, allocations: 1.775 MB / 1.965 GB, free: 310.7 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/2.294, allocations: 28 kB / 1.965 GB, free: 310.7 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/2.297, allocations: 420.3 kB / 1.965 GB, free: 310.3 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/2.297, allocations: 97.69 kB / 1.965 GB, free: 310.2 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/2.297, allocations: 59.97 kB / 1.966 GB, free: 310.1 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.1587/2.456, allocations: 251.5 MB / 2.211 GB, free: 58.57 MB / 1.42 GB Notification: Performance of sort global known variables: time 7.11e-07/2.456, allocations: 0.9688 kB / 2.211 GB, free: 58.57 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.006416/2.462, allocations: 1.403 MB / 2.213 GB, free: 57.24 MB / 1.42 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.009519/2.472, allocations: 4.452 MB / 2.217 GB, free: 53.14 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.00577/2.478, allocations: 4.857 MB / 2.222 GB, free: 48.34 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.478, allocations: 0 / 2.222 GB, free: 48.34 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/2.48, allocations: 1.909 MB / 2.224 GB, free: 46.43 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/2.484, allocations: 0.6148 MB / 2.224 GB, free: 45.84 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.883/4.367, allocations: 1.277 GB / 3.501 GB, free: 38.11 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/4.37, allocations: 3.018 MB / 3.504 GB, free: 35.09 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.005743/4.375, allocations: 1.687 MB / 3.506 GB, free: 33.57 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005789/4.381, allocations: 2.354 MB / 3.508 GB, free: 31.22 MB / 1.436 GB Notification: Performance of SimCode: time 9.82e-07/4.381, allocations: 3.812 kB / 3.508 GB, free: 31.22 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9824/5.364, allocations: 276.7 MB / 3.778 GB, free: 411.1 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/18.94, allocations: 16.92 kB / 3.779 GB, free: 411.1 MB / 1.436 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/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) Reference file matches