Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.004268/0.004268, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001264/0.001264, allocations: 193.7 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6506, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01048/0.6611, allocations: 8.209 MB / 1.228 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1805/0.8416, allocations: 159.5 MB / 1.384 GB, free: 9.652 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.8429, allocations: 43.75 kB / 1.384 GB, free: 9.609 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004832/0.8478, allocations: 1.981 MB / 1.386 GB, free: 7.621 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.851, allocations: 1.288 MB / 1.387 GB, free: 6.332 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.8544, allocations: 1.437 MB / 1.389 GB, free: 4.898 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005789/0.8602, allocations: 5.446 MB / 1.394 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.8618, allocations: 1.116 MB / 1.395 GB, free: 14.27 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.8639, allocations: 1.695 MB / 1.397 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.8657, allocations: 1.495 MB / 1.398 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.8661, allocations: 276 kB / 1.398 GB, free: 10.8 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.8697, allocations: 2.356 MB / 1.401 GB, free: 8.445 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002633/0.8724, allocations: 3.018 MB / 1.404 GB, free: 5.422 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003025/0.8754, allocations: 2.932 MB / 1.407 GB, free: 2.477 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.8861, allocations: 10.85 MB / 1.417 GB, free: 7.598 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8861, allocations: 8 kB / 1.417 GB, free: 7.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8861, allocations: 0 / 1.417 GB, free: 7.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.436e-05/0.8862, allocations: 4 kB / 1.417 GB, free: 7.586 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01577/0.902, allocations: 8.46 MB / 1.425 GB, free: 15.03 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.902, allocations: 11.97 kB / 1.425 GB, free: 15.02 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002876/0.9023, allocations: 223.9 kB / 1.426 GB, free: 14.79 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.9046, allocations: 0.6221 MB / 1.426 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7465/1.651, allocations: 276.1 MB / 1.696 GB, free: 216.9 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/1.651, allocations: 134.9 kB / 1.696 GB, free: 216.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/1.652, allocations: 192 kB / 1.696 GB, free: 216.6 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.654, allocations: 1.956 MB / 1.698 GB, free: 214.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/1.654, allocations: 3.938 kB / 1.698 GB, free: 214.5 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.654, allocations: 68 kB / 1.698 GB, free: 214.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/1.655, allocations: 36 kB / 1.698 GB, free: 214.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/1.657, allocations: 1.986 MB / 1.7 GB, free: 212.4 MB / 1.279 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.03818/1.695, allocations: 70.34 MB / 1.769 GB, free: 141.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/1.698, allocations: 1.781 MB / 1.771 GB, free: 140.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.699, allocations: 1.083 MB / 1.772 GB, free: 139 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 8.51e-05/1.699, allocations: 37.09 kB / 1.772 GB, free: 138.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/1.7, allocations: 1.203 MB / 1.773 GB, free: 137.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 2.585e-06/1.7, allocations: 0 / 1.773 GB, free: 137.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.00699/1.707, allocations: 3.716 MB / 1.776 GB, free: 134 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.708, allocations: 346.5 kB / 1.777 GB, free: 133.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3297/2.037, allocations: 315.9 MB / 2.085 GB, free: 9.598 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0003742/2.038, allocations: 65.7 kB / 2.085 GB, free: 9.527 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/2.041, allocations: 2.248 MB / 2.088 GB, free: 7.273 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/2.041, allocations: 396.7 kB / 2.088 GB, free: 6.883 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008724/2.042, allocations: 459.4 kB / 2.088 GB, free: 6.43 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0001264/2.042, allocations: 305.1 kB / 2.089 GB, free: 6.129 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/2.045, allocations: 1.527 MB / 2.09 GB, free: 4.602 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/2.047, allocations: 1.835 MB / 2.092 GB, free: 2.672 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004714/2.052, allocations: 3.228 MB / 2.095 GB, free: 15.35 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/2.052, allocations: 0 / 2.095 GB, free: 15.35 MB / 1.482 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008727/2.061, allocations: 4.307 MB / 2.099 GB, free: 11.03 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/2.061, allocations: 161.6 kB / 2.099 GB, free: 10.86 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/2.061, allocations: 8 kB / 2.099 GB, free: 10.86 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/2.062, allocations: 93.08 kB / 2.1 GB, free: 10.76 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/2.063, allocations: 391.4 kB / 2.1 GB, free: 10.38 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/2.066, allocations: 1.655 MB / 2.102 GB, free: 8.582 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/2.069, allocations: 0.6421 MB / 2.102 GB, free: 7.938 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/2.069, allocations: 87.97 kB / 2.102 GB, free: 7.852 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.003055/2.072, allocations: 2.164 MB / 2.104 GB, free: 5.672 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/2.075, allocations: 488.7 kB / 2.105 GB, free: 5.191 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/2.081, allocations: 3.367 MB / 2.108 GB, free: 1.805 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/2.081, allocations: 12 kB / 2.108 GB, free: 1.793 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/2.081, allocations: 0 / 2.108 GB, free: 1.793 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/2.081, allocations: 7.922 kB / 2.108 GB, free: 1.785 MB / 1.482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/2.087, allocations: 4.1 MB / 2.112 GB, free: 13.63 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/2.087, allocations: 4 kB / 2.112 GB, free: 13.63 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/2.088, allocations: 179.7 kB / 2.112 GB, free: 13.45 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/2.088, allocations: 80.77 kB / 2.112 GB, free: 13.37 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/2.088, allocations: 39.95 kB / 2.112 GB, free: 13.33 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/2.09, allocations: 1.662 MB / 2.114 GB, free: 11.52 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.09, allocations: 3.984 kB / 2.114 GB, free: 11.52 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/2.097, allocations: 3.062 MB / 2.117 GB, free: 8.422 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/2.1, allocations: 1.793 MB / 2.119 GB, free: 6.609 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008111/2.101, allocations: 31.94 kB / 2.119 GB, free: 6.578 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/2.103, allocations: 419.9 kB / 2.119 GB, free: 6.168 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/2.103, allocations: 92.86 kB / 2.119 GB, free: 6.078 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/2.103, allocations: 63.91 kB / 2.119 GB, free: 6.016 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.6541/2.757, allocations: 251.5 MB / 2.365 GB, free: 359.7 MB / 1.514 GB Notification: Performance of sort global known variables: time 6.91e-07/2.757, allocations: 0 / 2.365 GB, free: 359.7 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.003776/2.761, allocations: 1.42 MB / 2.366 GB, free: 358.5 MB / 1.514 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.008361/2.77, allocations: 4.491 MB / 2.371 GB, free: 354.6 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.004263/2.774, allocations: 4.333 MB / 2.375 GB, free: 350.3 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.774, allocations: 0 / 2.375 GB, free: 350.3 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/2.776, allocations: 1.911 MB / 2.377 GB, free: 348.4 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/2.779, allocations: 0.616 MB / 2.378 GB, free: 347.8 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.829/4.608, allocations: 1.258 GB / 3.635 GB, free: 221.8 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/4.611, allocations: 3.012 MB / 3.638 GB, free: 218.8 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.003732/4.615, allocations: 1.689 MB / 3.64 GB, free: 217.2 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003619/4.619, allocations: 2.346 MB / 3.642 GB, free: 214.9 MB / 1.514 GB Notification: Performance of SimCode: time 1.623e-06/4.619, allocations: 0 / 3.642 GB, free: 214.9 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.029/5.647, allocations: 273.4 MB / 3.909 GB, free: 0.5144 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/28.23, allocations: 3.938 kB / 3.909 GB, free: 0.5144 GB / 1.514 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches