Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 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.001634/0.001634, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.307/2.307, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5516, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006171/0.5578, allocations: 5.735 MB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.7109, allocations: 155.2 MB / 1.107 GB, free: 268 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.712, allocations: 23.88 kB / 1.107 GB, free: 244 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.7162, allocations: 1.77 MB / 1.109 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.7188, allocations: 0.7862 MB / 1.109 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.7213, allocations: 0.9709 MB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.724, allocations: 2.365 MB / 1.113 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7253, allocations: 0.9759 MB / 1.114 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.7265, allocations: 0.8643 MB / 1.114 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.7277, allocations: 0.9062 MB / 1.115 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.7281, allocations: 184 kB / 1.116 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.7313, allocations: 2.228 MB / 1.118 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.7323, allocations: 1.22 MB / 1.119 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.7339, allocations: 1.38 MB / 1.12 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.7393, allocations: 5.318 MB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7393, allocations: 4 kB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7393, allocations: 0 / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.772e-05/0.7394, allocations: 0 / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007286/0.7467, allocations: 3.937 MB / 1.129 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.7467, allocations: 8.031 kB / 1.129 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.7469, allocations: 194.3 kB / 1.13 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.7482, allocations: 349.3 kB / 1.13 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07764/0.8259, allocations: 87.61 MB / 1.215 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.826, allocations: 110.5 kB / 1.215 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.8262, allocations: 135.9 kB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.8283, allocations: 1.357 MB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.8284, allocations: 4 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.8285, allocations: 56 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.8285, allocations: 28 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.8308, allocations: 1.5 MB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.8505, allocations: 23.44 MB / 1.241 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.8526, allocations: 1.119 MB / 1.242 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.8533, allocations: 443.7 kB / 1.243 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/0.8534, allocations: 37.09 kB / 1.243 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.8545, allocations: 0.6567 MB / 1.244 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.364e-06/0.8545, allocations: 0 / 1.244 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004377/0.8589, allocations: 1.741 MB / 1.245 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.859, allocations: 196.9 kB / 1.245 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4674/1.326, allocations: 99.41 MB / 1.343 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/1.327, allocations: 49.7 kB / 1.343 GB, free: 207.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008347/1.328, allocations: 1.053 MB / 1.344 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.328, allocations: 328.6 kB / 1.344 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/1.328, allocations: 246.7 kB / 1.344 GB, free: 206 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/1.328, allocations: 348 kB / 1.345 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007585/1.329, allocations: 494.4 kB / 1.345 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/1.33, allocations: 0.6298 MB / 1.346 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/1.331, allocations: 1.006 MB / 1.347 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.331, allocations: 3.562 kB / 1.347 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003172/1.334, allocations: 1.5 MB / 1.348 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.334, allocations: 12.92 kB / 1.348 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.334, allocations: 0 / 1.348 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/1.335, allocations: 83.09 kB / 1.348 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/1.336, allocations: 239.7 kB / 1.348 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/1.338, allocations: 1.624 MB / 1.35 GB, free: 200 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.339, allocations: 275.9 kB / 1.35 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/1.339, allocations: 50.22 kB / 1.35 GB, free: 199.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.0009488/1.34, allocations: 0.8114 MB / 1.351 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/1.341, allocations: 217.2 kB / 1.351 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.344, allocations: 1.626 MB / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.344, allocations: 12.66 kB / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.344, allocations: 0 / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.344, allocations: 7.969 kB / 1.353 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.345, allocations: 1.967 MB / 1.355 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.345, allocations: 0 / 1.355 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/1.346, allocations: 191.7 kB / 1.355 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/1.347, allocations: 73.48 kB / 1.355 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/1.347, allocations: 27.98 kB / 1.355 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/1.348, allocations: 1.661 MB / 1.357 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.348, allocations: 3.938 kB / 1.357 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/1.351, allocations: 1.361 MB / 1.358 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/1.352, allocations: 0.7552 MB / 1.359 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/1.352, allocations: 33.67 kB / 1.359 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.353, allocations: 178 kB / 1.359 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.353, allocations: 92.83 kB / 1.359 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/1.353, allocations: 47.97 kB / 1.359 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04833/1.402, allocations: 79.4 MB / 1.437 GB, free: 111 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.7e-07/1.402, allocations: 0 / 1.437 GB, free: 111 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002211/1.404, allocations: 0.9901 MB / 1.438 GB, free: 110.1 MB / 0.9981 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.004596/1.408, allocations: 2.763 MB / 1.44 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002919/1.411, allocations: 1.547 MB / 1.442 GB, free: 106.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.411, allocations: 0 / 1.442 GB, free: 106.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009785/1.412, allocations: 0.6641 MB / 1.442 GB, free: 105.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.414, allocations: 407.1 kB / 1.443 GB, free: 105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6656/2.08, allocations: 410.8 MB / 1.844 GB, free: 251.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/2.081, allocations: 1.718 MB / 1.846 GB, free: 249.8 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002071/2.083, allocations: 0.7745 MB / 1.846 GB, free: 249.1 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/2.084, allocations: 1.1 MB / 1.847 GB, free: 248 MB / 1.123 GB Notification: Performance of SimCode: time 7.81e-07/2.084, allocations: 0 / 1.847 GB, free: 248 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/2.276, allocations: 107 MB / 1.952 GB, free: 142.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.78, allocations: 10.8 kB / 1.952 GB, free: 142.1 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_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_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches