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.005033/0.005033, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001203/0.001203, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.445/2.445, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7414, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007916/0.7493, allocations: 6.999 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.9058, allocations: 155.4 MB / 1.325 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.9071, allocations: 27.88 kB / 1.325 GB, free: 0.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004636/0.9119, allocations: 1.806 MB / 1.327 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.9148, allocations: 0.9132 MB / 1.327 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.9176, allocations: 0.99 MB / 1.328 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.9208, allocations: 2.578 MB / 1.331 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.9224, allocations: 0.9415 MB / 1.332 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.9239, allocations: 0.9073 MB / 1.333 GB, free: 8.555 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.9253, allocations: 0.9259 MB / 1.334 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.9257, allocations: 184 kB / 1.334 GB, free: 7.445 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.9293, allocations: 2.282 MB / 1.336 GB, free: 5.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009848/0.9303, allocations: 1.208 MB / 1.337 GB, free: 3.949 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.9317, allocations: 1.426 MB / 1.339 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006477/0.9382, allocations: 5.47 MB / 1.344 GB, free: 13.03 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.9383, allocations: 4 kB / 1.344 GB, free: 13.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.579e-06/0.9383, allocations: 4 kB / 1.344 GB, free: 13.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.221e-05/0.9384, allocations: 3.938 kB / 1.344 GB, free: 13.02 MB / 1.076 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.008995/0.9474, allocations: 4.072 MB / 1.348 GB, free: 8.871 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9474, allocations: 12.92 kB / 1.348 GB, free: 8.859 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.9477, allocations: 186.3 kB / 1.348 GB, free: 8.668 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.949, allocations: 366.9 kB / 1.348 GB, free: 8.309 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08024/1.029, allocations: 87.69 MB / 1.434 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.029, allocations: 102.5 kB / 1.434 GB, free: 432 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/1.03, allocations: 128 kB / 1.434 GB, free: 304 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/1.033, allocations: 1.36 MB / 1.436 GB, free: 14.87 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/1.033, allocations: 0 / 1.436 GB, free: 14.87 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/1.033, allocations: 55.98 kB / 1.436 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/1.033, allocations: 32 kB / 1.436 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/1.036, allocations: 1.504 MB / 1.437 GB, free: 13.27 MB / 1.17 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.02192/1.057, allocations: 23.88 MB / 1.46 GB, free: 5.195 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/1.06, allocations: 1.119 MB / 1.462 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/1.061, allocations: 451.5 kB / 1.462 GB, free: 3.633 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/1.061, allocations: 37.09 kB / 1.462 GB, free: 3.598 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/1.062, allocations: 0.6567 MB / 1.463 GB, free: 2.922 MB / 1.186 GB Notification: Performance of pre-optimization done (n=100): time 3.927e-06/1.062, allocations: 0 / 1.463 GB, free: 2.922 MB / 1.186 GB Notification: Performance of matching and sorting (n=100): time 0.004798/1.067, allocations: 1.742 MB / 1.464 GB, free: 1.152 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.067, allocations: 204.8 kB / 1.465 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6458/1.713, allocations: 99.41 MB / 1.562 GB, free: 388.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/1.713, allocations: 51.2 kB / 1.562 GB, free: 388.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.715, allocations: 1.067 MB / 1.563 GB, free: 387.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/1.715, allocations: 337.8 kB / 1.563 GB, free: 387.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/1.715, allocations: 243.5 kB / 1.563 GB, free: 387.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/1.715, allocations: 353 kB / 1.564 GB, free: 387.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.716, allocations: 491.1 kB / 1.564 GB, free: 387.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009709/1.717, allocations: 0.6282 MB / 1.565 GB, free: 386.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.719, allocations: 1.006 MB / 1.566 GB, free: 386.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/1.719, allocations: 0 / 1.566 GB, free: 386.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003564/1.723, allocations: 1.514 MB / 1.567 GB, free: 385.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.723, allocations: 6.953 kB / 1.567 GB, free: 385.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.723, allocations: 3.656 kB / 1.567 GB, free: 385.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/1.723, allocations: 84.59 kB / 1.567 GB, free: 385.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009075/1.724, allocations: 240 kB / 1.568 GB, free: 385.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/1.726, allocations: 1.628 MB / 1.569 GB, free: 384.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/1.728, allocations: 278.9 kB / 1.569 GB, free: 384.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.728, allocations: 49.56 kB / 1.569 GB, free: 384.2 MB / 1.279 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.001134/1.729, allocations: 0.8138 MB / 1.57 GB, free: 383.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/1.729, allocations: 233.4 kB / 1.57 GB, free: 383.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/1.733, allocations: 1.615 MB / 1.572 GB, free: 383.2 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.733, allocations: 11.03 kB / 1.572 GB, free: 383.2 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.733, allocations: 5.812 kB / 1.572 GB, free: 383.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.733, allocations: 8.391 kB / 1.572 GB, free: 383.2 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/1.735, allocations: 1.968 MB / 1.574 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.735, allocations: 0 / 1.574 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/1.736, allocations: 185.5 kB / 1.574 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/1.736, allocations: 73.81 kB / 1.574 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/1.736, allocations: 35.22 kB / 1.574 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.738, allocations: 1.657 MB / 1.576 GB, free: 380.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.738, allocations: 0 / 1.576 GB, free: 380.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/1.74, allocations: 1.378 MB / 1.577 GB, free: 380.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000948/1.741, allocations: 0.7722 MB / 1.578 GB, free: 379.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/1.742, allocations: 33.45 kB / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.743, allocations: 188.8 kB / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.743, allocations: 83.48 kB / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/1.743, allocations: 48.73 kB / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.05072/1.794, allocations: 79.39 MB / 1.656 GB, free: 300.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.51e-07/1.794, allocations: 0.5469 kB / 1.656 GB, free: 300.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002573/1.796, allocations: 1.034 MB / 1.657 GB, free: 299.8 MB / 1.279 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.004983/1.801, allocations: 2.789 MB / 1.66 GB, free: 297.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002125/1.804, allocations: 1.254 MB / 1.661 GB, free: 296.1 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.804, allocations: 0 / 1.661 GB, free: 296.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/1.805, allocations: 0.6564 MB / 1.661 GB, free: 295.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.807, allocations: 428 kB / 1.662 GB, free: 295 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2995/2.106, allocations: 407.1 MB / 2.059 GB, free: 15.7 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/2.108, allocations: 1.717 MB / 2.061 GB, free: 13.95 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.002661/2.111, allocations: 0.7841 MB / 2.062 GB, free: 13.16 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/2.113, allocations: 1.108 MB / 2.063 GB, free: 12.05 MB / 1.404 GB Notification: Performance of SimCode: time 1.022e-06/2.113, allocations: 0 / 2.063 GB, free: 12.05 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7433/2.856, allocations: 108.5 MB / 2.169 GB, free: 493.3 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/18.26, allocations: 8.859 kB / 2.169 GB, free: 493.3 MB / 1.436 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