Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_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.004749/0.004749, allocations: 96.31 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.22 kB / 0.9504 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2558, allocations: 140.4 MB / 1.087 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008716/0.2646, allocations: 6.985 MB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.4353, allocations: 159.4 MB / 1.25 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.4366, allocations: 35.81 kB / 1.25 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005301/0.442, allocations: 1.969 MB / 1.252 GB, free: 9.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.4455, allocations: 1.188 MB / 1.253 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.4491, allocations: 1.44 MB / 1.254 GB, free: 6.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005372/0.4545, allocations: 5.245 MB / 1.26 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5316/0.9861, allocations: 1.165 MB / 1.261 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.9891, allocations: 1.669 MB / 1.262 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.9915, allocations: 1.461 MB / 1.264 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006361/0.9921, allocations: 276.6 kB / 1.264 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/0.9967, allocations: 2.358 MB / 1.266 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004022/1.001, allocations: 3.014 MB / 1.269 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004947/1.006, allocations: 2.902 MB / 1.272 GB, free: 4.949 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/1.02, allocations: 10.78 MB / 1.283 GB, free: 3.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.02, allocations: 1.094 kB / 1.283 GB, free: 3.793 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/1.02, allocations: 0 / 1.283 GB, free: 3.793 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000229/1.021, allocations: 0 / 1.283 GB, free: 3.793 MB / 1.014 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.02493/1.046, allocations: 8.432 MB / 1.291 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.046, allocations: 9.656 kB / 1.291 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004923/1.046, allocations: 222.3 kB / 1.291 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/1.052, allocations: 0.6251 MB / 1.292 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2938/1.345, allocations: 280.2 MB / 1.565 GB, free: 4.426 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.346, allocations: 139.8 kB / 1.565 GB, free: 4.289 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006028/1.346, allocations: 184 kB / 1.566 GB, free: 4.109 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/1.35, allocations: 1.959 MB / 1.568 GB, free: 2.086 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/1.35, allocations: 5.078 kB / 1.568 GB, free: 2.082 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/1.35, allocations: 64 kB / 1.568 GB, free: 2.02 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/1.35, allocations: 36.91 kB / 1.568 GB, free: 1.984 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/1.353, allocations: 1.99 MB / 1.57 GB, free: 4 kB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06139/1.415, allocations: 69.87 MB / 1.638 GB, free: 10.18 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/1.418, allocations: 1.789 MB / 1.64 GB, free: 8.406 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.42, allocations: 1.078 MB / 1.641 GB, free: 7.328 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/1.42, allocations: 44.2 kB / 1.641 GB, free: 7.297 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/1.422, allocations: 1.186 MB / 1.642 GB, free: 6.09 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 3.286e-06/1.422, allocations: 1.031 kB / 1.642 GB, free: 6.09 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.009626/1.431, allocations: 3.73 MB / 1.645 GB, free: 2.34 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/1.432, allocations: 342.8 kB / 1.646 GB, free: 1.957 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8341/2.266, allocations: 316 MB / 1.954 GB, free: 498.5 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.000513/2.266, allocations: 69.69 kB / 1.954 GB, free: 498.4 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.002671/2.269, allocations: 2.238 MB / 1.957 GB, free: 496.4 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/2.269, allocations: 405.3 kB / 1.957 GB, free: 496.2 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00063/2.27, allocations: 457.7 kB / 1.957 GB, free: 495.8 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/2.27, allocations: 301.1 kB / 1.958 GB, free: 495.5 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/2.272, allocations: 1.526 MB / 1.959 GB, free: 494 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/2.274, allocations: 1.841 MB / 1.961 GB, free: 492.1 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/2.277, allocations: 3.222 MB / 1.964 GB, free: 488.8 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/2.277, allocations: 4 kB / 1.964 GB, free: 488.8 MB / 1.467 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008412/2.286, allocations: 4.313 MB / 1.968 GB, free: 484.5 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/2.286, allocations: 169.6 kB / 1.969 GB, free: 484.3 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/2.286, allocations: 4 kB / 1.969 GB, free: 484.3 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/2.286, allocations: 92.72 kB / 1.969 GB, free: 484.2 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/2.288, allocations: 391.4 kB / 1.969 GB, free: 483.8 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/2.29, allocations: 1.644 MB / 1.971 GB, free: 482.1 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/2.295, allocations: 0.6463 MB / 1.971 GB, free: 481.5 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/2.295, allocations: 86.22 kB / 1.971 GB, free: 481.4 MB / 1.467 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.003487/2.299, allocations: 2.172 MB / 1.973 GB, free: 479.2 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003155/2.302, allocations: 484.7 kB / 1.974 GB, free: 478.8 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/2.308, allocations: 3.369 MB / 1.977 GB, free: 475.4 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/2.308, allocations: 15.72 kB / 1.977 GB, free: 475.4 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/2.308, allocations: 0 / 1.977 GB, free: 475.4 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/2.308, allocations: 7.969 kB / 1.977 GB, free: 475.4 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006931/2.315, allocations: 4.085 MB / 1.981 GB, free: 471.2 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/2.315, allocations: 0 / 1.981 GB, free: 471.2 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/2.315, allocations: 187.7 kB / 1.981 GB, free: 471.1 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/2.316, allocations: 75.81 kB / 1.981 GB, free: 471 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/2.316, allocations: 39.97 kB / 1.981 GB, free: 471 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/2.317, allocations: 1.667 MB / 1.983 GB, free: 469.2 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.317, allocations: 0 / 1.983 GB, free: 469.2 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/2.324, allocations: 3.055 MB / 1.986 GB, free: 466.1 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004095/2.328, allocations: 1.793 MB / 1.988 GB, free: 464.3 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/2.33, allocations: 35.92 kB / 1.988 GB, free: 464.2 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/2.332, allocations: 420.2 kB / 1.988 GB, free: 463.8 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/2.333, allocations: 92.88 kB / 1.988 GB, free: 463.7 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/2.333, allocations: 62.16 kB / 1.988 GB, free: 463.7 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.1628/2.495, allocations: 251.5 MB / 2.234 GB, free: 212.1 MB / 1.467 GB Notification: Performance of sort global known variables: time 6.21e-07/2.495, allocations: 3.75 kB / 2.234 GB, free: 212.1 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.006371/2.502, allocations: 1.393 MB / 2.235 GB, free: 210.7 MB / 1.467 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.01003/2.512, allocations: 4.488 MB / 2.24 GB, free: 206.5 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.005353/2.517, allocations: 4.328 MB / 2.244 GB, free: 202.1 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.517, allocations: 0 / 2.244 GB, free: 202.1 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/2.519, allocations: 1.909 MB / 2.246 GB, free: 200.2 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007034/2.526, allocations: 0.6005 MB / 2.246 GB, free: 199.6 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.988/4.514, allocations: 1.258 GB / 3.504 GB, free: 208.2 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003133/4.517, allocations: 3.017 MB / 3.507 GB, free: 205.2 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.004625/4.522, allocations: 1.688 MB / 3.509 GB, free: 203.7 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/4.526, allocations: 2.35 MB / 3.511 GB, free: 201.3 MB / 1.467 GB Notification: Performance of SimCode: time 6.41e-07/4.526, allocations: 3.828 kB / 3.511 GB, free: 201.3 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.035/5.561, allocations: 272.8 MB / 3.778 GB, free: 0.5667 GB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.38/27.95, allocations: 10.06 kB / 3.778 GB, free: 0.5666 GB / 1.467 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches