Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 148 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.001378/0.001378, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5225, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008268/0.5308, allocations: 7.029 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.6799, allocations: 155.6 MB / 1.176 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.6811, allocations: 23.88 kB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.6854, allocations: 1.809 MB / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.6879, allocations: 0.8888 MB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.6903, allocations: 1.026 MB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.6938, allocations: 3.653 MB / 1.183 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.6951, allocations: 0.9173 MB / 1.184 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.6968, allocations: 1.185 MB / 1.185 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.6984, allocations: 1.07 MB / 1.187 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005061/0.6989, allocations: 200 kB / 1.187 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.7023, allocations: 2.216 MB / 1.189 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.7034, allocations: 1.419 MB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.7048, allocations: 1.504 MB / 1.192 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006341/0.7111, allocations: 5.618 MB / 1.197 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7112, allocations: 0 / 1.197 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7112, allocations: 3.938 kB / 1.197 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.263e-05/0.7112, allocations: 0 / 1.197 GB, free: 9.594 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.007082/0.7183, allocations: 4.201 MB / 1.201 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7184, allocations: 12.03 kB / 1.201 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.7186, allocations: 186.2 kB / 1.202 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7197, allocations: 349.1 kB / 1.202 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5394/1.259, allocations: 87.69 MB / 1.288 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/1.259, allocations: 115.1 kB / 1.288 GB, free: 215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/1.259, allocations: 148 kB / 1.288 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/1.262, allocations: 1.543 MB / 1.289 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.262, allocations: 0 / 1.289 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.262, allocations: 52 kB / 1.289 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/1.262, allocations: 28 kB / 1.289 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/1.264, allocations: 1.619 MB / 1.291 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/1.28, allocations: 24.08 MB / 1.314 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/1.282, allocations: 1.437 MB / 1.316 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000871/1.283, allocations: 0.8863 MB / 1.317 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/1.283, allocations: 37.17 kB / 1.317 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/1.284, allocations: 0.9514 MB / 1.318 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.985e-06/1.284, allocations: 0 / 1.318 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.00418/1.288, allocations: 2.753 MB / 1.32 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.289, allocations: 334.5 kB / 1.321 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07901/1.368, allocations: 99.69 MB / 1.418 GB, free: 81.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003816/1.368, allocations: 57.7 kB / 1.418 GB, free: 81.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009709/1.369, allocations: 1.097 MB / 1.419 GB, free: 80.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/1.369, allocations: 335.2 kB / 1.419 GB, free: 80.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/1.37, allocations: 355.5 kB / 1.42 GB, free: 79.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/1.37, allocations: 309.1 kB / 1.42 GB, free: 79.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.371, allocations: 1.195 MB / 1.421 GB, free: 78.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/1.373, allocations: 1.42 MB / 1.423 GB, free: 76.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/1.375, allocations: 2.582 MB / 1.425 GB, free: 74.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.375, allocations: 0 / 1.425 GB, free: 74.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004284/1.379, allocations: 3.215 MB / 1.428 GB, free: 70.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.38, allocations: 155.5 kB / 1.428 GB, free: 70.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.38, allocations: 4 kB / 1.428 GB, free: 70.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.38, allocations: 8 kB / 1.428 GB, free: 70.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.381, allocations: 312.2 kB / 1.429 GB, free: 70.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.381, allocations: 8 kB / 1.429 GB, free: 70.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.382, allocations: 337.6 kB / 1.429 GB, free: 70.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.382, allocations: 71.95 kB / 1.429 GB, free: 70.08 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001081/1.383, allocations: 1.028 MB / 1.43 GB, free: 69.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/1.384, allocations: 236.9 kB / 1.43 GB, free: 68.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/1.387, allocations: 2.536 MB / 1.433 GB, free: 66.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.387, allocations: 11.75 kB / 1.433 GB, free: 66.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.387, allocations: 0 / 1.433 GB, free: 66.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.387, allocations: 11.92 kB / 1.433 GB, free: 66.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.389, allocations: 2.009 MB / 1.435 GB, free: 64.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.389, allocations: 0 / 1.435 GB, free: 64.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/1.39, allocations: 159.8 kB / 1.435 GB, free: 64.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.39, allocations: 4 kB / 1.435 GB, free: 64.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/1.39, allocations: 35.97 kB / 1.435 GB, free: 63.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.39, allocations: 8 kB / 1.435 GB, free: 63.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.39, allocations: 0 / 1.435 GB, free: 63.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/1.393, allocations: 2.339 MB / 1.437 GB, free: 61.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000939/1.394, allocations: 0.798 MB / 1.438 GB, free: 60.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/1.394, allocations: 27.91 kB / 1.438 GB, free: 60.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.395, allocations: 191.9 kB / 1.438 GB, free: 60.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.395, allocations: 80.89 kB / 1.438 GB, free: 60.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/1.395, allocations: 59.89 kB / 1.438 GB, free: 60.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05301/1.449, allocations: 79.56 MB / 1.516 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.21e-07/1.449, allocations: 0 / 1.516 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002723/1.451, allocations: 1.073 MB / 1.517 GB, free: 11.78 MB / 1.029 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006166/1.457, allocations: 3.741 MB / 1.521 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005031/1.462, allocations: 3.973 MB / 1.525 GB, free: 4.199 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.463, allocations: 4.812 kB / 1.525 GB, free: 4.195 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.464, allocations: 1.528 MB / 1.526 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.466, allocations: 423.7 kB / 1.527 GB, free: 2.258 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7503/2.216, allocations: 416.8 MB / 1.934 GB, free: 248.3 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/2.217, allocations: 1.787 MB / 1.935 GB, free: 246.5 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001726/2.219, allocations: 0.7696 MB / 1.936 GB, free: 245.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/2.22, allocations: 1.136 MB / 1.937 GB, free: 244.7 MB / 1.217 GB Notification: Performance of SimCode: time 6.72e-07/2.22, allocations: 3.938 kB / 1.937 GB, free: 244.7 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/2.416, allocations: 111.5 MB / 2.046 GB, free: 134.4 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/11.32, allocations: 11.95 kB / 2.046 GB, free: 134.4 MB / 1.217 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches