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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001684/0.001684, allocations: 108 kB / 15.6 MB, free: 132 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.002002/0.002002, allocations: 191.9 kB / 16.53 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.742 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.36 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2514, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008268/0.2597, allocations: 6.966 MB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.4119, allocations: 155.4 MB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.413, allocations: 27.88 kB / 1.222 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.4173, allocations: 1.805 MB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.4198, allocations: 0.8943 MB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.422, allocations: 0.9809 MB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.4243, allocations: 2.57 MB / 1.228 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.4254, allocations: 0.9414 MB / 1.229 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.4263, allocations: 0.8956 MB / 1.23 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009596/0.4273, allocations: 0.9337 MB / 1.231 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.4275, allocations: 184 kB / 1.231 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.4306, allocations: 2.235 MB / 1.233 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009472/0.4315, allocations: 1.212 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.4328, allocations: 1.43 MB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00483/0.4376, allocations: 5.38 MB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4377, allocations: 4 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4377, allocations: 0 / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.4377, allocations: 0 / 1.241 GB, free: 7.969 MB / 0.9981 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.006361/0.4441, allocations: 3.967 MB / 1.245 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4441, allocations: 8.031 kB / 1.245 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.4443, allocations: 194.3 kB / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.4457, allocations: 353.3 kB / 1.246 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.47/0.9157, allocations: 87.61 MB / 1.331 GB, free: 131 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.9158, allocations: 106.5 kB / 1.331 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.9159, allocations: 132.7 kB / 1.331 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.9178, allocations: 1.357 MB / 1.333 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.9178, allocations: 0 / 1.333 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.9179, allocations: 52 kB / 1.333 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.9179, allocations: 32 kB / 1.333 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.9199, allocations: 1.508 MB / 1.334 GB, free: 127.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.0141/0.934, allocations: 23.91 MB / 1.358 GB, free: 103.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.9358, allocations: 1.123 MB / 1.359 GB, free: 102.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.9365, allocations: 447.7 kB / 1.359 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-05/0.9366, allocations: 41.08 kB / 1.359 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008628/0.9374, allocations: 0.6528 MB / 1.36 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 3.406e-06/0.9374, allocations: 0 / 1.36 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003725/0.9412, allocations: 1.745 MB / 1.362 GB, free: 99.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.9412, allocations: 188.9 kB / 1.362 GB, free: 99.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07772/1.019, allocations: 99.41 MB / 1.459 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002461/1.019, allocations: 53.7 kB / 1.459 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.02, allocations: 1.057 MB / 1.46 GB, free: 14.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/1.021, allocations: 327.2 kB / 1.46 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/1.021, allocations: 242.8 kB / 1.46 GB, free: 14.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.021, allocations: 353.9 kB / 1.461 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009504/1.022, allocations: 494.4 kB / 1.461 GB, free: 13.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/1.023, allocations: 0.6254 MB / 1.462 GB, free: 12.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.025, allocations: 1.002 MB / 1.463 GB, free: 11.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.025, allocations: 7.938 kB / 1.463 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003447/1.028, allocations: 1.502 MB / 1.464 GB, free: 10.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.028, allocations: 4.156 kB / 1.464 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.028, allocations: 4 kB / 1.464 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/1.029, allocations: 92.7 kB / 1.464 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/1.03, allocations: 231.7 kB / 1.465 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/1.032, allocations: 1.635 MB / 1.466 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.034, allocations: 268.9 kB / 1.466 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/1.034, allocations: 51.97 kB / 1.467 GB, free: 7.781 MB / 1.014 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.001034/1.035, allocations: 0.8161 MB / 1.467 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005247/1.035, allocations: 226.1 kB / 1.468 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/1.038, allocations: 1.613 MB / 1.469 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.039, allocations: 12 kB / 1.469 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.039, allocations: 6.062 kB / 1.469 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.039, allocations: 7.984 kB / 1.469 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/1.041, allocations: 1.966 MB / 1.471 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.041, allocations: 0.6562 kB / 1.471 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/1.041, allocations: 183.7 kB / 1.471 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/1.042, allocations: 77.67 kB / 1.471 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/1.042, allocations: 27.98 kB / 1.471 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.044, allocations: 1.665 MB / 1.473 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.044, allocations: 0 / 1.473 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/1.047, allocations: 1.364 MB / 1.474 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.048, allocations: 0.7553 MB / 1.475 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/1.048, allocations: 27.98 kB / 1.475 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.049, allocations: 183.9 kB / 1.475 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.049, allocations: 80.88 kB / 1.475 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/1.05, allocations: 47.97 kB / 1.475 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.06667/1.116, allocations: 79.4 MB / 1.553 GB, free: 15.06 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.11e-07/1.116, allocations: 0 / 1.553 GB, free: 15.06 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002529/1.119, allocations: 1.022 MB / 1.554 GB, free: 14.12 MB / 1.107 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.005185/1.124, allocations: 2.771 MB / 1.557 GB, free: 11.6 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003264/1.127, allocations: 1.533 MB / 1.558 GB, free: 10.06 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.127, allocations: 0 / 1.558 GB, free: 10.06 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.128, allocations: 0.6762 MB / 1.559 GB, free: 9.367 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.13, allocations: 429.8 kB / 1.559 GB, free: 8.969 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7121/1.842, allocations: 410.6 MB / 1.96 GB, free: 240.3 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/1.843, allocations: 1.724 MB / 1.962 GB, free: 238.6 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001835/1.845, allocations: 0.775 MB / 1.963 GB, free: 237.9 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.846, allocations: 1.112 MB / 1.964 GB, free: 236.8 MB / 1.264 GB Notification: Performance of SimCode: time 6.21e-07/1.846, allocations: 0 / 1.964 GB, free: 236.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1899/2.036, allocations: 107.7 MB / 2.069 GB, free: 130.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.58, allocations: 7.047 kB / 2.069 GB, free: 130.4 MB / 1.264 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