Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_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.001601/0.001601, 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.001889/0.00189, allocations: 193.3 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.387 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 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.5328, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008967/0.5418, allocations: 8.239 MB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1544/0.6961, allocations: 159.5 MB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.6975, allocations: 39.75 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.7019, allocations: 1.988 MB / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.7049, allocations: 1.269 MB / 1.184 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.708, allocations: 1.448 MB / 1.186 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004658/0.7127, allocations: 5.431 MB / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.714, allocations: 1.104 MB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.7158, allocations: 1.679 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.7173, allocations: 1.498 MB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.7177, allocations: 276 kB / 1.196 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.721, allocations: 2.325 MB / 1.198 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.723, allocations: 3.014 MB / 1.201 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.7256, allocations: 2.932 MB / 1.204 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008249/0.7339, allocations: 10.72 MB / 1.214 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7339, allocations: 0 / 1.214 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7339, allocations: 7.938 kB / 1.214 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.697e-05/0.734, allocations: 0 / 1.214 GB, free: 8.211 MB / 0.9669 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.01365/0.7476, allocations: 8.262 MB / 1.222 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7477, allocations: 8.031 kB / 1.222 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/0.7479, allocations: 227.9 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.7501, allocations: 0.5995 MB / 1.223 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5639/1.314, allocations: 276 MB / 1.493 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-05/1.314, allocations: 138.9 kB / 1.493 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/1.314, allocations: 187.9 kB / 1.493 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/1.317, allocations: 1.962 MB / 1.495 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/1.317, allocations: 7.938 kB / 1.495 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/1.317, allocations: 67.98 kB / 1.495 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/1.317, allocations: 36 kB / 1.495 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/1.32, allocations: 1.982 MB / 1.497 GB, free: 12.5 MB / 1.014 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.05199/1.372, allocations: 70.36 MB / 1.566 GB, free: 5.914 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/1.375, allocations: 1.797 MB / 1.567 GB, free: 4.113 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/1.376, allocations: 1.078 MB / 1.568 GB, free: 3.031 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/1.376, allocations: 37.11 kB / 1.568 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/1.378, allocations: 1.203 MB / 1.57 GB, free: 1.773 MB / 1.076 GB Notification: Performance of pre-optimization done (n=117): time 2.805e-06/1.378, allocations: 0 / 1.57 GB, free: 1.773 MB / 1.076 GB Notification: Performance of matching and sorting (n=117): time 0.008069/1.386, allocations: 3.69 MB / 1.573 GB, free: 14.04 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/1.386, allocations: 346.5 kB / 1.574 GB, free: 13.65 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7023/2.089, allocations: 315.9 MB / 1.882 GB, free: 291.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003578/2.089, allocations: 65.7 kB / 1.882 GB, free: 291.6 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002268/2.091, allocations: 2.226 MB / 1.884 GB, free: 289.6 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/2.092, allocations: 391.3 kB / 1.885 GB, free: 289.4 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005381/2.092, allocations: 454.8 kB / 1.885 GB, free: 288.9 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.165e-05/2.092, allocations: 304.9 kB / 1.885 GB, free: 288.7 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/2.094, allocations: 1.526 MB / 1.887 GB, free: 287.1 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/2.096, allocations: 1.835 MB / 1.889 GB, free: 285.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/2.099, allocations: 3.239 MB / 1.892 GB, free: 281.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/2.099, allocations: 4 kB / 1.892 GB, free: 281.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006862/2.106, allocations: 4.269 MB / 1.896 GB, free: 277.7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/2.106, allocations: 171.8 kB / 1.896 GB, free: 277.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/2.106, allocations: 4 kB / 1.896 GB, free: 277.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/2.106, allocations: 92.33 kB / 1.896 GB, free: 277.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/2.108, allocations: 397.9 kB / 1.897 GB, free: 277.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/2.109, allocations: 1.647 MB / 1.898 GB, free: 275.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/2.112, allocations: 0.6334 MB / 1.899 GB, free: 274.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/2.113, allocations: 91.88 kB / 1.899 GB, free: 274.6 MB / 1.217 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.002173/2.115, allocations: 2.168 MB / 1.901 GB, free: 272.4 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/2.116, allocations: 461.9 kB / 1.901 GB, free: 271.9 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/2.121, allocations: 3.369 MB / 1.905 GB, free: 268.6 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/2.121, allocations: 12 kB / 1.905 GB, free: 268.5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/2.121, allocations: 0 / 1.905 GB, free: 268.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/2.121, allocations: 11.83 kB / 1.905 GB, free: 268.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/2.124, allocations: 4.093 MB / 1.909 GB, free: 264.4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/2.124, allocations: 3.75 kB / 1.909 GB, free: 264.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/2.125, allocations: 183.7 kB / 1.909 GB, free: 264.2 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/2.126, allocations: 79.16 kB / 1.909 GB, free: 264.2 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.294e-05/2.126, allocations: 37.05 kB / 1.909 GB, free: 264.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/2.127, allocations: 1.663 MB / 1.911 GB, free: 262.3 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.127, allocations: 0 / 1.911 GB, free: 262.3 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/2.132, allocations: 3.036 MB / 1.914 GB, free: 259.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/2.135, allocations: 1.771 MB / 1.915 GB, free: 257.5 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009383/2.136, allocations: 31.94 kB / 1.915 GB, free: 257.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/2.138, allocations: 424 kB / 1.916 GB, free: 257 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/2.138, allocations: 92.86 kB / 1.916 GB, free: 256.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/2.138, allocations: 59.97 kB / 1.916 GB, free: 256.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.1503/2.289, allocations: 251.5 MB / 2.162 GB, free: 5.324 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.81e-07/2.289, allocations: 0 / 2.162 GB, free: 5.324 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004194/2.293, allocations: 1.402 MB / 2.163 GB, free: 3.996 MB / 1.217 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.4051/2.698, allocations: 4.455 MB / 2.167 GB, free: 447.4 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007277/2.705, allocations: 4.857 MB / 2.172 GB, free: 446.1 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.705, allocations: 1.406 kB / 2.172 GB, free: 446.1 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/2.708, allocations: 1.908 MB / 2.174 GB, free: 445.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/2.712, allocations: 0.6133 MB / 2.175 GB, free: 445 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.691/4.403, allocations: 1.277 GB / 3.452 GB, free: 104.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/4.405, allocations: 3.013 MB / 3.455 GB, free: 101.2 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003831/4.409, allocations: 1.691 MB / 3.456 GB, free: 99.63 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/4.413, allocations: 2.346 MB / 3.459 GB, free: 97.29 MB / 1.232 GB Notification: Performance of SimCode: time 7.32e-07/4.413, allocations: 4 kB / 3.459 GB, free: 97.28 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9543/5.367, allocations: 276.7 MB / 3.729 GB, free: 292.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/18.83, allocations: 12 kB / 3.729 GB, free: 292.7 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_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_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches