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.001692/0.001692, allocations: 108 kB / 15.61 MB, free: 152 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.001949/0.001949, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.549/2.549, allocations: 437.1 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5284, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008375/0.5368, allocations: 6.994 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.6839, allocations: 155.4 MB / 1.176 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009988/0.6849, allocations: 27.88 kB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.6887, allocations: 1.797 MB / 1.178 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.6907, allocations: 0.8941 MB / 1.179 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.6927, allocations: 0.9859 MB / 1.18 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002002/0.6947, allocations: 2.567 MB / 1.182 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.6958, allocations: 0.9376 MB / 1.183 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.6967, allocations: 0.8994 MB / 1.184 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009836/0.6977, allocations: 0.9345 MB / 1.185 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.698, allocations: 184 kB / 1.185 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.701, allocations: 2.231 MB / 1.187 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008656/0.7019, allocations: 1.212 MB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.703, allocations: 1.426 MB / 1.19 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004589/0.7076, allocations: 5.38 MB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7077, allocations: 0 / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7077, allocations: 4 kB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.812e-05/0.7077, allocations: 4 kB / 1.195 GB, free: 11.96 MB / 0.9512 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.0061/0.7138, allocations: 3.967 MB / 1.199 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7139, allocations: 12.03 kB / 1.199 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/0.7141, allocations: 190.3 kB / 1.199 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.7154, allocations: 357.3 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.495/1.21, allocations: 87.6 MB / 1.285 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/1.21, allocations: 103.4 kB / 1.285 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.211, allocations: 137 kB / 1.285 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/1.213, allocations: 1.36 MB / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.213, allocations: 0 / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.213, allocations: 57.5 kB / 1.287 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/1.213, allocations: 28 kB / 1.287 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/1.215, allocations: 1.502 MB / 1.288 GB, free: 214.7 MB / 0.9981 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.01618/1.231, allocations: 23.92 MB / 1.311 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/1.233, allocations: 1.114 MB / 1.312 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/1.233, allocations: 449.3 kB / 1.313 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/1.233, allocations: 41.09 kB / 1.313 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/1.234, allocations: 0.6528 MB / 1.314 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.345e-06/1.234, allocations: 0 / 1.314 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003695/1.238, allocations: 1.74 MB / 1.315 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.238, allocations: 188.9 kB / 1.315 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07563/1.314, allocations: 99.41 MB / 1.413 GB, free: 86.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.314, allocations: 49.7 kB / 1.413 GB, free: 86.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008404/1.315, allocations: 1.061 MB / 1.414 GB, free: 85.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/1.315, allocations: 327.4 kB / 1.414 GB, free: 85.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/1.315, allocations: 246.7 kB / 1.414 GB, free: 85.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/1.316, allocations: 349.9 kB / 1.415 GB, free: 84.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007531/1.316, allocations: 490.4 kB / 1.415 GB, free: 84.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/1.317, allocations: 0.6284 MB / 1.416 GB, free: 83.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/1.319, allocations: 1.006 MB / 1.417 GB, free: 82.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.319, allocations: 3.938 kB / 1.417 GB, free: 82.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002934/1.322, allocations: 1.499 MB / 1.418 GB, free: 81.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.322, allocations: 4 kB / 1.418 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.322, allocations: 4 kB / 1.418 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/1.322, allocations: 80.84 kB / 1.418 GB, free: 81.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/1.323, allocations: 244.2 kB / 1.418 GB, free: 80.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/1.325, allocations: 1.635 MB / 1.42 GB, free: 79.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.326, allocations: 274.3 kB / 1.42 GB, free: 78.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/1.326, allocations: 51.97 kB / 1.42 GB, free: 78.83 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.0008607/1.327, allocations: 0.8085 MB / 1.421 GB, free: 78.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006455/1.328, allocations: 221.1 kB / 1.421 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/1.331, allocations: 1.627 MB / 1.423 GB, free: 76.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.331, allocations: 12 kB / 1.423 GB, free: 76.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.331, allocations: 0 / 1.423 GB, free: 76.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.331, allocations: 7.969 kB / 1.423 GB, free: 76.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/1.333, allocations: 1.972 MB / 1.425 GB, free: 74.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.333, allocations: 0 / 1.425 GB, free: 74.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/1.333, allocations: 183.8 kB / 1.425 GB, free: 73.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/1.334, allocations: 72.72 kB / 1.425 GB, free: 73.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/1.334, allocations: 35.97 kB / 1.425 GB, free: 73.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.335, allocations: 1.658 MB / 1.427 GB, free: 72.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.335, allocations: 3.984 kB / 1.427 GB, free: 72.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/1.338, allocations: 1.36 MB / 1.428 GB, free: 70.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/1.339, allocations: 0.763 MB / 1.429 GB, free: 69.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/1.339, allocations: 20 kB / 1.429 GB, free: 69.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.34, allocations: 185.5 kB / 1.429 GB, free: 69.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.34, allocations: 92.88 kB / 1.429 GB, free: 69.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/1.34, allocations: 39.98 kB / 1.429 GB, free: 69.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0504/1.391, allocations: 79.4 MB / 1.507 GB, free: 6.102 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.01e-07/1.391, allocations: 0 / 1.507 GB, free: 6.102 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002547/1.393, allocations: 1.018 MB / 1.508 GB, free: 5.156 MB / 1.014 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.005743/1.399, allocations: 2.771 MB / 1.51 GB, free: 2.613 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003335/1.402, allocations: 1.542 MB / 1.512 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.402, allocations: 0 / 1.512 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.404, allocations: 0.6603 MB / 1.512 GB, free: 392 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.406, allocations: 445 kB / 1.513 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6989/2.104, allocations: 410.6 MB / 1.914 GB, free: 267.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/2.106, allocations: 1.72 MB / 1.916 GB, free: 265.7 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001845/2.108, allocations: 0.7653 MB / 1.916 GB, free: 265 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/2.109, allocations: 1.103 MB / 1.917 GB, free: 263.9 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/2.109, allocations: 0 / 1.917 GB, free: 263.9 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1941/2.303, allocations: 107.7 MB / 2.023 GB, free: 157.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/14.27, allocations: 15.78 kB / 2.023 GB, free: 157.5 MB / 1.217 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