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.007698/0.007698, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001807/0.001808, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 75.89 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6623, allocations: 140.4 MB / 1.087 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006089/0.6684, allocations: 5.729 MB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.8373, allocations: 155.2 MB / 1.245 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.8386, allocations: 25.06 kB / 1.245 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004837/0.8435, allocations: 1.765 MB / 1.246 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.8461, allocations: 0.7953 MB / 1.247 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.8487, allocations: 0.9738 MB / 1.248 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.8515, allocations: 2.373 MB / 1.25 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.8529, allocations: 0.972 MB / 1.251 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.8541, allocations: 0.872 MB / 1.252 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.8554, allocations: 0.9025 MB / 1.253 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.8558, allocations: 184 kB / 1.253 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00379/0.8596, allocations: 2.266 MB / 1.256 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.8607, allocations: 1.216 MB / 1.257 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.8627, allocations: 1.38 MB / 1.258 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.8709, allocations: 5.376 MB / 1.263 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8709, allocations: 0 / 1.263 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8709, allocations: 0 / 1.263 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.956e-05/0.871, allocations: 0 / 1.263 GB, free: 9.859 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008824/0.8798, allocations: 3.945 MB / 1.267 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8799, allocations: 12.03 kB / 1.267 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.8802, allocations: 194.3 kB / 1.267 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.8818, allocations: 353.2 kB / 1.268 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08401/0.9659, allocations: 87.63 MB / 1.353 GB, free: 13.56 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.966, allocations: 102.5 kB / 1.353 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.9663, allocations: 132 kB / 1.354 GB, free: 13.33 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.9689, allocations: 1.36 MB / 1.355 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.969, allocations: 0 / 1.355 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.9691, allocations: 59.98 kB / 1.355 GB, free: 11.85 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.9692, allocations: 35.94 kB / 1.355 GB, free: 11.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.9716, allocations: 1.493 MB / 1.356 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.9939, allocations: 23.4 MB / 1.379 GB, free: 2.832 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.9963, allocations: 1.123 MB / 1.38 GB, free: 1.699 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.997, allocations: 435.7 kB / 1.381 GB, free: 1.27 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/0.9971, allocations: 41.09 kB / 1.381 GB, free: 1.23 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.9982, allocations: 0.6566 MB / 1.381 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of pre-optimization done (n=100): time 3.056e-06/0.9982, allocations: 0 / 1.381 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of matching and sorting (n=100): time 0.004598/1.003, allocations: 1.737 MB / 1.383 GB, free: 14.79 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.003, allocations: 196.9 kB / 1.383 GB, free: 14.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1045/1.107, allocations: 99.41 MB / 1.48 GB, free: 11.1 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.108, allocations: 49.7 kB / 1.48 GB, free: 11.05 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.109, allocations: 1.063 MB / 1.481 GB, free: 9.977 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/1.109, allocations: 323.3 kB / 1.482 GB, free: 9.656 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/1.11, allocations: 238.8 kB / 1.482 GB, free: 9.418 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.11, allocations: 357.9 kB / 1.482 GB, free: 9.062 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009083/1.111, allocations: 490.4 kB / 1.483 GB, free: 8.582 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.112, allocations: 0.6285 MB / 1.483 GB, free: 7.918 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.114, allocations: 1.002 MB / 1.484 GB, free: 6.902 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.114, allocations: 4 kB / 1.484 GB, free: 6.898 MB / 1.217 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00353/1.117, allocations: 1.51 MB / 1.486 GB, free: 5.375 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.117, allocations: 6.344 kB / 1.486 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.117, allocations: 0 / 1.486 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/1.118, allocations: 88.83 kB / 1.486 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/1.119, allocations: 235.6 kB / 1.486 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.121, allocations: 1.631 MB / 1.488 GB, free: 3.273 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.123, allocations: 266.5 kB / 1.488 GB, free: 3.012 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.123, allocations: 51.97 kB / 1.488 GB, free: 2.961 MB / 1.217 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.001324/1.124, allocations: 0.8116 MB / 1.489 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/1.125, allocations: 221.1 kB / 1.489 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/1.129, allocations: 1.62 MB / 1.491 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.129, allocations: 12 kB / 1.491 GB, free: 284 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.129, allocations: 3.938 kB / 1.491 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.129, allocations: 11.92 kB / 1.491 GB, free: 268 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/1.132, allocations: 1.963 MB / 1.493 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.132, allocations: 4 kB / 1.493 GB, free: 14.24 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/1.132, allocations: 175.8 kB / 1.493 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/1.133, allocations: 76.78 kB / 1.493 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/1.133, allocations: 31.97 kB / 1.493 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.135, allocations: 1.658 MB / 1.495 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.135, allocations: 8.094 kB / 1.495 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/1.138, allocations: 1.36 MB / 1.496 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.14, allocations: 0.7553 MB / 1.497 GB, free: 9.984 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005424/1.14, allocations: 24 kB / 1.497 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.142, allocations: 183.9 kB / 1.497 GB, free: 9.781 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.142, allocations: 88.88 kB / 1.497 GB, free: 9.691 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/1.142, allocations: 47.97 kB / 1.497 GB, free: 9.645 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.06837/1.21, allocations: 79.4 MB / 1.574 GB, free: 10.22 MB / 1.311 GB Notification: Performance of sort global known variables: time 6.81e-07/1.21, allocations: 0 / 1.574 GB, free: 10.22 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002777/1.213, allocations: 0.9986 MB / 1.575 GB, free: 9.219 MB / 1.311 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.006285/1.219, allocations: 2.772 MB / 1.578 GB, free: 6.602 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.222, allocations: 1.239 MB / 1.579 GB, free: 5.352 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.222, allocations: 0 / 1.579 GB, free: 5.352 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.223, allocations: 0.6681 MB / 1.58 GB, free: 4.668 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.226, allocations: 396.9 kB / 1.58 GB, free: 4.293 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7429/1.968, allocations: 407.1 MB / 1.978 GB, free: 99.06 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.97, allocations: 1.722 MB / 1.98 GB, free: 97.33 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001919/1.972, allocations: 0.7725 MB / 1.98 GB, free: 96.66 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.973, allocations: 1.101 MB / 1.981 GB, free: 95.56 MB / 1.311 GB Notification: Performance of SimCode: time 7.62e-07/1.973, allocations: 0 / 1.981 GB, free: 95.56 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2009/2.174, allocations: 107.7 MB / 2.087 GB, free: 4.938 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/17.61, allocations: 11.38 kB / 2.087 GB, free: 4.93 MB / 1.326 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