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.004897/0.004897, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001176/0.001176, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.553/2.553, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.88 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2602, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008304/0.2686, allocations: 6.977 MB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7437/1.012, allocations: 155.4 MB / 1.325 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/1.013, allocations: 25.38 kB / 1.325 GB, free: 6.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004523/1.018, allocations: 1.816 MB / 1.327 GB, free: 6.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/1.02, allocations: 0.9135 MB / 1.327 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/1.023, allocations: 0.9864 MB / 1.328 GB, free: 5.352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002666/1.025, allocations: 2.583 MB / 1.331 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/1.026, allocations: 0.9454 MB / 1.332 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/1.028, allocations: 0.9101 MB / 1.333 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.029, allocations: 0.9231 MB / 1.334 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002626/1.029, allocations: 184.2 kB / 1.334 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/1.033, allocations: 2.282 MB / 1.336 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009631/1.034, allocations: 1.209 MB / 1.337 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/1.035, allocations: 1.425 MB / 1.339 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006218/1.041, allocations: 5.47 MB / 1.344 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.041, allocations: 4 kB / 1.344 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/1.041, allocations: 0 / 1.344 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.692e-05/1.041, allocations: 0 / 1.344 GB, free: 14.88 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.007955/1.049, allocations: 4.076 MB / 1.348 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.049, allocations: 13.34 kB / 1.348 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/1.05, allocations: 193.6 kB / 1.348 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/1.051, allocations: 364.9 kB / 1.348 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08001/1.131, allocations: 87.69 MB / 1.434 GB, free: 2.492 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/1.131, allocations: 98.55 kB / 1.434 GB, free: 2.395 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/1.131, allocations: 132 kB / 1.434 GB, free: 2.266 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/1.134, allocations: 1.36 MB / 1.436 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.134, allocations: 0 / 1.436 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.134, allocations: 52 kB / 1.436 GB, free: 0.793 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/1.134, allocations: 32 kB / 1.436 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.136, allocations: 1.505 MB / 1.437 GB, free: 15.25 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.02119/1.158, allocations: 23.88 MB / 1.46 GB, free: 7.176 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/1.16, allocations: 1.119 MB / 1.462 GB, free: 6.059 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/1.16, allocations: 451.1 kB / 1.462 GB, free: 5.617 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.161, allocations: 41.03 kB / 1.462 GB, free: 5.578 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/1.162, allocations: 0.6567 MB / 1.463 GB, free: 4.902 MB / 1.123 GB Notification: Performance of pre-optimization done (n=100): time 2.414e-06/1.162, allocations: 0 / 1.463 GB, free: 4.902 MB / 1.123 GB Notification: Performance of matching and sorting (n=100): time 0.004395/1.166, allocations: 1.746 MB / 1.464 GB, free: 3.129 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/1.166, allocations: 200.9 kB / 1.465 GB, free: 2.887 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1028/1.269, allocations: 99.41 MB / 1.562 GB, free: 15.43 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002951/1.269, allocations: 49.7 kB / 1.562 GB, free: 15.38 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.271, allocations: 1.07 MB / 1.563 GB, free: 14.3 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/1.271, allocations: 341 kB / 1.563 GB, free: 13.96 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/1.272, allocations: 238.9 kB / 1.563 GB, free: 13.73 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.272, allocations: 353.9 kB / 1.564 GB, free: 13.38 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/1.273, allocations: 490.4 kB / 1.564 GB, free: 12.89 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.274, allocations: 0.6246 MB / 1.565 GB, free: 12.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.275, allocations: 1.002 MB / 1.566 GB, free: 11.22 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.275, allocations: 0 / 1.566 GB, free: 11.22 MB / 1.232 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003786/1.279, allocations: 1.523 MB / 1.567 GB, free: 9.684 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.279, allocations: 8 kB / 1.567 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.279, allocations: 5.031 kB / 1.567 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/1.28, allocations: 88.75 kB / 1.567 GB, free: 9.582 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000987/1.281, allocations: 235.7 kB / 1.568 GB, free: 9.352 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.283, allocations: 1.64 MB / 1.569 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.285, allocations: 272.3 kB / 1.569 GB, free: 7.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.285, allocations: 51.97 kB / 1.569 GB, free: 7.254 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.001443/1.287, allocations: 0.8118 MB / 1.57 GB, free: 6.43 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.288, allocations: 230.5 kB / 1.57 GB, free: 6.203 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/1.291, allocations: 1.623 MB / 1.572 GB, free: 4.566 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.291, allocations: 12 kB / 1.572 GB, free: 4.555 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.291, allocations: 3.938 kB / 1.572 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.291, allocations: 3.984 kB / 1.572 GB, free: 4.547 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/1.294, allocations: 1.973 MB / 1.574 GB, free: 2.523 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.294, allocations: 0 / 1.574 GB, free: 2.523 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/1.295, allocations: 179.7 kB / 1.574 GB, free: 2.348 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/1.296, allocations: 72.8 kB / 1.574 GB, free: 2.273 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/1.296, allocations: 31.97 kB / 1.574 GB, free: 2.242 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/1.297, allocations: 1.674 MB / 1.576 GB, free: 436 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.297, allocations: 3.938 kB / 1.576 GB, free: 432 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/1.301, allocations: 1.362 MB / 1.577 GB, free: 15.04 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.302, allocations: 0.7759 MB / 1.578 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006316/1.303, allocations: 24 kB / 1.578 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.304, allocations: 187.9 kB / 1.578 GB, free: 14.03 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.305, allocations: 84.88 kB / 1.578 GB, free: 13.95 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/1.305, allocations: 47.97 kB / 1.578 GB, free: 13.9 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.06903/1.374, allocations: 79.4 MB / 1.656 GB, free: 14.48 MB / 1.326 GB Notification: Performance of sort global known variables: time 4.71e-07/1.374, allocations: 0 / 1.656 GB, free: 14.48 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003517/1.377, allocations: 1.037 MB / 1.657 GB, free: 13.44 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.00656/1.384, allocations: 2.789 MB / 1.66 GB, free: 10.8 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.002414/1.386, allocations: 1.247 MB / 1.661 GB, free: 9.543 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.386, allocations: 0 / 1.661 GB, free: 9.543 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.388, allocations: 0.6683 MB / 1.661 GB, free: 8.859 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.39, allocations: 425.8 kB / 1.662 GB, free: 8.457 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8214/2.212, allocations: 407.1 MB / 2.059 GB, free: 340.4 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/2.213, allocations: 1.72 MB / 2.061 GB, free: 338.7 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002/2.215, allocations: 0.7731 MB / 2.062 GB, free: 338 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/2.216, allocations: 1.112 MB / 2.063 GB, free: 336.9 MB / 1.467 GB Notification: Performance of SimCode: time 8.61e-07/2.216, allocations: 0 / 2.063 GB, free: 336.9 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/2.438, allocations: 108.5 MB / 2.169 GB, free: 229.5 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/17.83, allocations: 3.938 kB / 2.169 GB, free: 229.5 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