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.005291/0.005291, allocations: 102 kB / 15.73 MB, free: 6 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.001221/0.001221, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.347/1.347, 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 11.0.1-master/package.mo): time 2.566/2.566, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 59.91 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7793, allocations: 157.4 MB / 1.207 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009156/0.7885, allocations: 6.968 MB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.9533, allocations: 155.4 MB / 1.366 GB, free: 10.67 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.9549, allocations: 31.81 kB / 1.366 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006041/0.961, allocations: 1.797 MB / 1.368 GB, free: 8.832 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.9643, allocations: 0.8892 MB / 1.368 GB, free: 7.941 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.9669, allocations: 0.9935 MB / 1.369 GB, free: 6.953 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003354/0.9703, allocations: 2.586 MB / 1.372 GB, free: 4.359 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.9718, allocations: 0.9415 MB / 1.373 GB, free: 3.371 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.9734, allocations: 0.9072 MB / 1.374 GB, free: 2.461 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.9752, allocations: 0.9259 MB / 1.375 GB, free: 1.531 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.9758, allocations: 184 kB / 1.375 GB, free: 1.352 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.9802, allocations: 2.266 MB / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.9815, allocations: 1.216 MB / 1.378 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.9837, allocations: 1.419 MB / 1.38 GB, free: 12.44 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008835/0.9925, allocations: 5.446 MB / 1.385 GB, free: 6.977 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.9926, allocations: 0 / 1.385 GB, free: 6.977 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9926, allocations: 0 / 1.385 GB, free: 6.977 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001158/0.9927, allocations: 4 kB / 1.385 GB, free: 6.973 MB / 1.107 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.01022/1.003, allocations: 3.967 MB / 1.389 GB, free: 2.938 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.003, allocations: 12.03 kB / 1.389 GB, free: 2.926 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000322/1.003, allocations: 190.3 kB / 1.389 GB, free: 2.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/1.006, allocations: 353.3 kB / 1.389 GB, free: 2.383 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08621/1.092, allocations: 87.63 MB / 1.475 GB, free: 10.65 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.092, allocations: 106.5 kB / 1.475 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/1.093, allocations: 132 kB / 1.475 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/1.096, allocations: 1.36 MB / 1.476 GB, free: 8.992 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/1.096, allocations: 3.938 kB / 1.476 GB, free: 8.988 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/1.096, allocations: 56 kB / 1.477 GB, free: 8.934 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.097, allocations: 35.98 kB / 1.477 GB, free: 8.898 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/1.099, allocations: 1.496 MB / 1.478 GB, free: 7.395 MB / 1.201 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.02284/1.122, allocations: 23.87 MB / 1.501 GB, free: 15.32 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/1.125, allocations: 1.109 MB / 1.502 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008624/1.125, allocations: 445.5 kB / 1.503 GB, free: 13.78 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/1.126, allocations: 37.02 kB / 1.503 GB, free: 13.74 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/1.127, allocations: 0.6645 MB / 1.504 GB, free: 13.06 MB / 1.232 GB Notification: Performance of pre-optimization done (n=100): time 3.397e-06/1.127, allocations: 0 / 1.504 GB, free: 13.06 MB / 1.232 GB Notification: Performance of matching and sorting (n=100): time 0.005442/1.132, allocations: 1.737 MB / 1.505 GB, free: 11.29 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/1.133, allocations: 192.9 kB / 1.505 GB, free: 11.06 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7755/1.908, allocations: 99.41 MB / 1.602 GB, free: 324.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/1.908, allocations: 46.36 kB / 1.603 GB, free: 324.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.909, allocations: 1.058 MB / 1.604 GB, free: 324 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/1.91, allocations: 325.3 kB / 1.604 GB, free: 323.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/1.91, allocations: 239 kB / 1.604 GB, free: 323.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/1.91, allocations: 351.1 kB / 1.604 GB, free: 323.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008106/1.911, allocations: 491.3 kB / 1.605 GB, free: 322.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/1.912, allocations: 0.6322 MB / 1.606 GB, free: 322.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/1.914, allocations: 1.001 MB / 1.607 GB, free: 321.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.914, allocations: 0 / 1.607 GB, free: 321.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003355/1.917, allocations: 1.509 MB / 1.608 GB, free: 320 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.917, allocations: 6.906 kB / 1.608 GB, free: 320 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.917, allocations: 4 kB / 1.608 GB, free: 320 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/1.918, allocations: 86.64 kB / 1.608 GB, free: 319.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/1.919, allocations: 241 kB / 1.608 GB, free: 319.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/1.921, allocations: 1.634 MB / 1.61 GB, free: 318 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.922, allocations: 277.6 kB / 1.61 GB, free: 317.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/1.923, allocations: 47.69 kB / 1.61 GB, free: 317.7 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.0018/1.924, allocations: 0.8069 MB / 1.611 GB, free: 317 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/1.926, allocations: 219.1 kB / 1.611 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/1.931, allocations: 1.624 MB / 1.613 GB, free: 315.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.931, allocations: 12 kB / 1.613 GB, free: 315.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.931, allocations: 0 / 1.613 GB, free: 315.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/1.931, allocations: 8.016 kB / 1.613 GB, free: 315.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/1.934, allocations: 1.967 MB / 1.615 GB, free: 313.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/1.934, allocations: 3.984 kB / 1.615 GB, free: 313.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/1.935, allocations: 183.7 kB / 1.615 GB, free: 313.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/1.936, allocations: 68.61 kB / 1.615 GB, free: 313.4 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.936, allocations: 35.97 kB / 1.615 GB, free: 313.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/1.938, allocations: 1.652 MB / 1.617 GB, free: 311.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.938, allocations: 3.969 kB / 1.617 GB, free: 311.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/1.941, allocations: 1.361 MB / 1.618 GB, free: 310.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.943, allocations: 0.7627 MB / 1.619 GB, free: 309.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007968/1.944, allocations: 31.66 kB / 1.619 GB, free: 309.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.945, allocations: 180.5 kB / 1.619 GB, free: 309.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/1.946, allocations: 88.88 kB / 1.619 GB, free: 309.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.946, allocations: 47.97 kB / 1.619 GB, free: 309.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.05165/1.997, allocations: 79.4 MB / 1.697 GB, free: 229.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 6.72e-07/1.997, allocations: 0 / 1.697 GB, free: 229.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003429/2.001, allocations: 1.02 MB / 1.698 GB, free: 228.7 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.006578/2.008, allocations: 2.774 MB / 1.7 GB, free: 226.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002447/2.01, allocations: 1.238 MB / 1.701 GB, free: 225 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.01, allocations: 12.22 kB / 1.701 GB, free: 225 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/2.011, allocations: 0.668 MB / 1.702 GB, free: 224.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/2.014, allocations: 419.5 kB / 1.703 GB, free: 223.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3288/2.343, allocations: 407 MB / 2.1 GB, free: 8.801 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/2.345, allocations: 1.722 MB / 2.102 GB, free: 7.051 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.00266/2.348, allocations: 0.7725 MB / 2.102 GB, free: 6.273 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002484/2.35, allocations: 1.108 MB / 2.104 GB, free: 5.168 MB / 1.467 GB Notification: Performance of SimCode: time 2.394e-06/2.35, allocations: 0 / 2.104 GB, free: 5.168 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9373/3.288, allocations: 109.4 MB / 2.21 GB, free: 487.1 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/19.91, allocations: 14.25 kB / 2.21 GB, free: 487.1 MB / 1.482 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 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.mat","/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