Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TransmittedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_10_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.004811/0.004811, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001264/0.001264, allocations: 192.2 kB / 16.67 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.649/2.649, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 60.14 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2695, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01017/0.2798, allocations: 6.99 MB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7094/0.9892, allocations: 155.4 MB / 1.325 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.9903, allocations: 25.22 kB / 1.325 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00486/0.9952, allocations: 1.815 MB / 1.327 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.9977, allocations: 0.8787 MB / 1.327 GB, free: 5.695 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/1, allocations: 0.9957 MB / 1.328 GB, free: 5.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003253/1.003, allocations: 2.576 MB / 1.331 GB, free: 4.102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/1.005, allocations: 0.9456 MB / 1.332 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/1.006, allocations: 0.906 MB / 1.333 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.007, allocations: 0.9232 MB / 1.334 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/1.007, allocations: 184.7 kB / 1.334 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/1.011, allocations: 2.272 MB / 1.336 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/1.013, allocations: 1.213 MB / 1.337 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/1.014, allocations: 1.423 MB / 1.339 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00883/1.023, allocations: 5.46 MB / 1.344 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.023, allocations: 0 / 1.344 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/1.023, allocations: 1.344 kB / 1.344 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.738e-05/1.023, allocations: 0 / 1.344 GB, free: 14.91 MB / 1.029 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.009018/1.032, allocations: 4.077 MB / 1.348 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.032, allocations: 9.469 kB / 1.348 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002784/1.033, allocations: 193.5 kB / 1.348 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.034, allocations: 369.8 kB / 1.348 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09422/1.128, allocations: 87.67 MB / 1.434 GB, free: 2.547 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/1.129, allocations: 106.5 kB / 1.434 GB, free: 2.441 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/1.129, allocations: 136 kB / 1.434 GB, free: 2.309 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/1.131, allocations: 1.358 MB / 1.436 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.131, allocations: 7.922 kB / 1.436 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.132, allocations: 55.98 kB / 1.436 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/1.132, allocations: 32 kB / 1.436 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/1.134, allocations: 1.497 MB / 1.437 GB, free: 15.29 MB / 1.107 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.02654/1.161, allocations: 23.88 MB / 1.46 GB, free: 7.215 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/1.163, allocations: 1.118 MB / 1.462 GB, free: 6.102 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/1.164, allocations: 453.6 kB / 1.462 GB, free: 5.656 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.687e-05/1.164, allocations: 37.09 kB / 1.462 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/1.165, allocations: 0.6528 MB / 1.463 GB, free: 4.949 MB / 1.123 GB Notification: Performance of pre-optimization done (n=100): time 2.585e-06/1.165, allocations: 0 / 1.463 GB, free: 4.949 MB / 1.123 GB Notification: Performance of matching and sorting (n=100): time 0.005091/1.17, allocations: 1.754 MB / 1.464 GB, free: 3.168 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.17, allocations: 188.9 kB / 1.465 GB, free: 2.938 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1196/1.29, allocations: 99.42 MB / 1.562 GB, free: 15.48 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.291, allocations: 57.45 kB / 1.562 GB, free: 15.42 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.292, allocations: 1.066 MB / 1.563 GB, free: 14.35 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/1.292, allocations: 341.1 kB / 1.563 GB, free: 14.01 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/1.293, allocations: 246.8 kB / 1.563 GB, free: 13.77 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.293, allocations: 345.9 kB / 1.564 GB, free: 13.42 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009615/1.294, allocations: 498.3 kB / 1.564 GB, free: 12.93 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.295, allocations: 0.6254 MB / 1.565 GB, free: 12.27 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/1.297, allocations: 1.006 MB / 1.566 GB, free: 11.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.297, allocations: 4 kB / 1.566 GB, free: 11.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003965/1.301, allocations: 1.519 MB / 1.567 GB, free: 9.719 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.301, allocations: 4 kB / 1.567 GB, free: 9.715 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.301, allocations: 4 kB / 1.567 GB, free: 9.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/1.301, allocations: 80.84 kB / 1.567 GB, free: 9.629 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/1.302, allocations: 239.6 kB / 1.567 GB, free: 9.395 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.305, allocations: 1.636 MB / 1.569 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/1.307, allocations: 274.9 kB / 1.569 GB, free: 7.348 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.307, allocations: 52.03 kB / 1.569 GB, free: 7.297 MB / 1.232 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.001643/1.309, allocations: 0.8077 MB / 1.57 GB, free: 6.477 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007812/1.31, allocations: 230.5 kB / 1.57 GB, free: 6.25 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/1.313, allocations: 1.627 MB / 1.572 GB, free: 4.609 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.313, allocations: 8 kB / 1.572 GB, free: 4.602 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.313, allocations: 8 kB / 1.572 GB, free: 4.594 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.313, allocations: 7.969 kB / 1.572 GB, free: 4.586 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/1.316, allocations: 1.957 MB / 1.574 GB, free: 2.578 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.316, allocations: 4 kB / 1.574 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/1.317, allocations: 179.8 kB / 1.574 GB, free: 2.398 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/1.317, allocations: 76.77 kB / 1.574 GB, free: 2.32 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/1.317, allocations: 35.97 kB / 1.574 GB, free: 2.285 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.319, allocations: 1.662 MB / 1.576 GB, free: 492 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.319, allocations: 3.938 kB / 1.576 GB, free: 488 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/1.322, allocations: 1.37 MB / 1.577 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.324, allocations: 0.776 MB / 1.578 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/1.324, allocations: 20 kB / 1.578 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.325, allocations: 185.3 kB / 1.578 GB, free: 14.09 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.325, allocations: 96.75 kB / 1.578 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/1.326, allocations: 43.98 kB / 1.578 GB, free: 13.95 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0809/1.406, allocations: 79.4 MB / 1.656 GB, free: 14.52 MB / 1.326 GB Notification: Performance of sort global known variables: time 6.31e-07/1.406, allocations: 0 / 1.656 GB, free: 14.52 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.004057/1.411, allocations: 1.029 MB / 1.657 GB, free: 13.49 MB / 1.326 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.007656/1.418, allocations: 2.786 MB / 1.66 GB, free: 10.86 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.002614/1.421, allocations: 1.243 MB / 1.661 GB, free: 9.602 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.421, allocations: 0 / 1.661 GB, free: 9.602 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.422, allocations: 0.668 MB / 1.661 GB, free: 8.918 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.425, allocations: 433.4 kB / 1.662 GB, free: 8.512 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8588/2.283, allocations: 407.1 MB / 2.059 GB, free: 340.5 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/2.285, allocations: 1.717 MB / 2.061 GB, free: 338.7 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002069/2.287, allocations: 0.7774 MB / 2.062 GB, free: 338.1 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/2.288, allocations: 1.108 MB / 2.063 GB, free: 337 MB / 1.467 GB Notification: Performance of SimCode: time 1.533e-06/2.288, allocations: 0 / 2.063 GB, free: 337 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/2.493, allocations: 108.4 MB / 2.169 GB, free: 229.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/20.93, allocations: 4 kB / 2.169 GB, free: 229.7 MB / 1.467 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches