Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_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.004899/0.004899, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001093/0.001093, allocations: 196.2 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.747/2.747, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.84 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2841, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008233/0.2924, allocations: 6.962 MB / 1.227 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7584/1.051, allocations: 155.4 MB / 1.378 GB, free: 6.883 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/1.052, allocations: 24.66 kB / 1.378 GB, free: 6.875 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005318/1.058, allocations: 1.822 MB / 1.38 GB, free: 6.125 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/1.06, allocations: 0.9066 MB / 1.381 GB, free: 5.543 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/1.063, allocations: 0.994 MB / 1.382 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003181/1.066, allocations: 2.581 MB / 1.384 GB, free: 3.219 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/1.068, allocations: 0.9431 MB / 1.385 GB, free: 2.645 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/1.069, allocations: 0.9078 MB / 1.386 GB, free: 2.109 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/1.071, allocations: 0.935 MB / 1.387 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005191/1.072, allocations: 187.2 kB / 1.387 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/1.076, allocations: 2.265 MB / 1.39 GB, free: 324 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/1.077, allocations: 1.207 MB / 1.391 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/1.079, allocations: 1.428 MB / 1.392 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00723/1.086, allocations: 5.465 MB / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.086, allocations: 1.375 kB / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.593e-06/1.086, allocations: 0 / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.928e-05/1.086, allocations: 0 / 1.397 GB, free: 11.15 MB / 1.092 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.009206/1.095, allocations: 4.082 MB / 1.401 GB, free: 8.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.096, allocations: 8.75 kB / 1.401 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/1.096, allocations: 189.7 kB / 1.402 GB, free: 8.188 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/1.097, allocations: 367.2 kB / 1.402 GB, free: 7.996 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08657/1.184, allocations: 87.68 MB / 1.488 GB, free: 3.691 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/1.184, allocations: 102.5 kB / 1.488 GB, free: 3.59 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/1.185, allocations: 132 kB / 1.488 GB, free: 3.461 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/1.188, allocations: 1.357 MB / 1.489 GB, free: 2.043 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/1.188, allocations: 0 / 1.489 GB, free: 2.043 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/1.188, allocations: 55.98 kB / 1.489 GB, free: 1.988 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/1.188, allocations: 36 kB / 1.489 GB, free: 1.953 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002753/1.191, allocations: 1.493 MB / 1.491 GB, free: 464 kB / 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.025/1.216, allocations: 23.89 MB / 1.514 GB, free: 8.359 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.218, allocations: 1.116 MB / 1.515 GB, free: 7.238 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/1.219, allocations: 445.4 kB / 1.516 GB, free: 6.805 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.22, allocations: 37.02 kB / 1.516 GB, free: 6.773 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/1.221, allocations: 0.6567 MB / 1.516 GB, free: 6.098 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 3.747e-06/1.221, allocations: 4 kB / 1.516 GB, free: 6.094 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.005391/1.226, allocations: 1.742 MB / 1.518 GB, free: 4.324 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.226, allocations: 196.9 kB / 1.518 GB, free: 4.086 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1067/1.333, allocations: 99.42 MB / 1.615 GB, free: 0.6289 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003716/1.333, allocations: 49.7 kB / 1.615 GB, free: 0.5742 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/1.335, allocations: 1.074 MB / 1.616 GB, free: 15.49 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/1.336, allocations: 337.1 kB / 1.617 GB, free: 15.16 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/1.336, allocations: 244.3 kB / 1.617 GB, free: 14.92 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.337, allocations: 349.9 kB / 1.617 GB, free: 14.57 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/1.338, allocations: 494.4 kB / 1.618 GB, free: 14.09 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.339, allocations: 0.6246 MB / 1.618 GB, free: 13.43 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/1.341, allocations: 0.9985 MB / 1.619 GB, free: 12.41 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.341, allocations: 0 / 1.619 GB, free: 12.41 MB / 1.311 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004098/1.345, allocations: 1.523 MB / 1.621 GB, free: 10.87 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.345, allocations: 8 kB / 1.621 GB, free: 10.86 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.345, allocations: 8.844 kB / 1.621 GB, free: 10.86 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/1.345, allocations: 84.84 kB / 1.621 GB, free: 10.77 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/1.346, allocations: 235.7 kB / 1.621 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/1.348, allocations: 1.639 MB / 1.623 GB, free: 8.758 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.351, allocations: 276.2 kB / 1.623 GB, free: 8.488 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.351, allocations: 51.97 kB / 1.623 GB, free: 8.438 MB / 1.311 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.001601/1.352, allocations: 0.808 MB / 1.624 GB, free: 7.621 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.354, allocations: 234.4 kB / 1.624 GB, free: 7.391 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/1.358, allocations: 1.623 MB / 1.626 GB, free: 5.754 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.358, allocations: 12 kB / 1.626 GB, free: 5.742 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.358, allocations: 0 / 1.626 GB, free: 5.742 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.358, allocations: 7.969 kB / 1.626 GB, free: 5.734 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/1.362, allocations: 1.964 MB / 1.628 GB, free: 3.719 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.362, allocations: 0 / 1.628 GB, free: 3.719 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/1.363, allocations: 183.7 kB / 1.628 GB, free: 3.539 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/1.363, allocations: 72.78 kB / 1.628 GB, free: 3.465 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.363, allocations: 27.98 kB / 1.628 GB, free: 3.438 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.365, allocations: 1.662 MB / 1.629 GB, free: 1.629 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.365, allocations: 3.938 kB / 1.629 GB, free: 1.625 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/1.369, allocations: 1.37 MB / 1.631 GB, free: 236 kB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/1.371, allocations: 0.776 MB / 1.632 GB, free: 15.43 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.372, allocations: 27.95 kB / 1.632 GB, free: 15.41 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.374, allocations: 189.9 kB / 1.632 GB, free: 15.22 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.374, allocations: 84.88 kB / 1.632 GB, free: 15.14 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.374, allocations: 47.92 kB / 1.632 GB, free: 15.09 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.07036/1.445, allocations: 79.4 MB / 1.709 GB, free: 15.66 MB / 1.404 GB Notification: Performance of sort global known variables: time 4.91e-07/1.445, allocations: 0 / 1.709 GB, free: 15.66 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.0042/1.449, allocations: 1.025 MB / 1.71 GB, free: 14.64 MB / 1.404 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.007621/1.457, allocations: 2.8 MB / 1.713 GB, free: 11.98 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.459, allocations: 1.239 MB / 1.714 GB, free: 10.73 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.459, allocations: 4.312 kB / 1.714 GB, free: 10.73 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.461, allocations: 0.6719 MB / 1.715 GB, free: 10.04 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.464, allocations: 424.2 kB / 1.715 GB, free: 9.645 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8864/2.35, allocations: 407.1 MB / 2.113 GB, free: 284.3 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/2.352, allocations: 1.72 MB / 2.115 GB, free: 282.6 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002459/2.355, allocations: 0.7704 MB / 2.115 GB, free: 281.9 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/2.357, allocations: 1.108 MB / 2.116 GB, free: 280.8 MB / 1.498 GB Notification: Performance of SimCode: time 1.002e-06/2.357, allocations: 0 / 2.116 GB, free: 280.8 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/2.558, allocations: 108.4 MB / 2.222 GB, free: 173.6 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/18.3, allocations: 7.328 kB / 2.222 GB, free: 173.6 MB / 1.498 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches