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.006418/0.006418, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001525/0.001525, 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.334/1.334, 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.544/2.544, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2689, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009492/0.2784, allocations: 8.232 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.7287/1.007, allocations: 159.5 MB / 1.33 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/1.009, allocations: 37.78 kB / 1.33 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005737/1.015, allocations: 1.998 MB / 1.332 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/1.018, allocations: 1.299 MB / 1.333 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/1.022, allocations: 1.45 MB / 1.335 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005579/1.028, allocations: 5.453 MB / 1.34 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/1.029, allocations: 1.115 MB / 1.341 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/1.032, allocations: 1.7 MB / 1.343 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/1.035, allocations: 1.494 MB / 1.344 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000773/1.035, allocations: 280.2 kB / 1.344 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004556/1.04, allocations: 2.352 MB / 1.347 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002936/1.043, allocations: 3.013 MB / 1.35 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00487/1.048, allocations: 2.939 MB / 1.353 GB, free: 8.785 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/1.06, allocations: 10.86 MB / 1.363 GB, free: 2.582 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.06, allocations: 0 / 1.363 GB, free: 2.582 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/1.06, allocations: 0 / 1.363 GB, free: 2.582 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001432/1.06, allocations: 0 / 1.363 GB, free: 2.582 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01752/1.077, allocations: 8.463 MB / 1.371 GB, free: 13.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.077, allocations: 10.44 kB / 1.371 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002792/1.078, allocations: 223.1 kB / 1.372 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/1.08, allocations: 0.6265 MB / 1.372 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.252/1.332, allocations: 276.1 MB / 1.642 GB, free: 13.4 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/1.332, allocations: 134.9 kB / 1.642 GB, free: 13.27 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/1.333, allocations: 192 kB / 1.642 GB, free: 13.08 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/1.336, allocations: 1.96 MB / 1.644 GB, free: 11.04 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/1.336, allocations: 7.938 kB / 1.644 GB, free: 11.03 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/1.337, allocations: 67.98 kB / 1.644 GB, free: 10.96 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/1.337, allocations: 36 kB / 1.644 GB, free: 10.93 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/1.34, allocations: 1.982 MB / 1.646 GB, free: 8.941 MB / 1.311 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.05945/1.399, allocations: 70.34 MB / 1.715 GB, free: 2.355 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/1.402, allocations: 1.79 MB / 1.717 GB, free: 0.5664 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.404, allocations: 1.082 MB / 1.718 GB, free: 15.48 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/1.404, allocations: 39.75 kB / 1.718 GB, free: 15.45 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/1.406, allocations: 1.199 MB / 1.719 GB, free: 14.23 MB / 1.389 GB Notification: Performance of pre-optimization done (n=117): time 3.456e-06/1.406, allocations: 0 / 1.719 GB, free: 14.23 MB / 1.389 GB Notification: Performance of matching and sorting (n=117): time 0.008734/1.414, allocations: 3.724 MB / 1.723 GB, free: 10.46 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/1.415, allocations: 342.5 kB / 1.723 GB, free: 10.08 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8364/2.251, allocations: 315.9 MB / 2.031 GB, free: 365.1 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0004281/2.252, allocations: 65.7 kB / 2.031 GB, free: 365 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.002677/2.254, allocations: 2.234 MB / 2.034 GB, free: 363 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/2.255, allocations: 405.8 kB / 2.034 GB, free: 362.9 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008756/2.256, allocations: 460.6 kB / 2.034 GB, free: 362.4 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.922e-05/2.256, allocations: 301.7 kB / 2.035 GB, free: 362.1 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/2.258, allocations: 1.53 MB / 2.036 GB, free: 360.6 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/2.26, allocations: 1.836 MB / 2.038 GB, free: 358.7 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/2.263, allocations: 3.229 MB / 2.041 GB, free: 355.4 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/2.263, allocations: 0 / 2.041 GB, free: 355.4 MB / 1.467 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00735/2.27, allocations: 4.307 MB / 2.045 GB, free: 351.1 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.27, allocations: 165.6 kB / 2.046 GB, free: 350.9 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/2.271, allocations: 8 kB / 2.046 GB, free: 350.9 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/2.271, allocations: 94.81 kB / 2.046 GB, free: 350.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/2.273, allocations: 391.4 kB / 2.046 GB, free: 350.4 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/2.274, allocations: 1.648 MB / 2.048 GB, free: 348.7 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/2.278, allocations: 0.6369 MB / 2.048 GB, free: 348.1 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/2.278, allocations: 87.97 kB / 2.048 GB, free: 348 MB / 1.467 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.00235/2.28, allocations: 2.172 MB / 2.05 GB, free: 345.8 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001934/2.282, allocations: 484.7 kB / 2.051 GB, free: 345.4 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/2.287, allocations: 3.374 MB / 2.054 GB, free: 342 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/2.287, allocations: 12 kB / 2.054 GB, free: 342 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/2.287, allocations: 0 / 2.054 GB, free: 342 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/2.287, allocations: 7.969 kB / 2.054 GB, free: 342 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/2.291, allocations: 4.09 MB / 2.058 GB, free: 337.9 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/2.291, allocations: 3.875 kB / 2.058 GB, free: 337.9 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/2.292, allocations: 187.5 kB / 2.058 GB, free: 337.7 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004341/2.292, allocations: 72.72 kB / 2.059 GB, free: 337.6 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/2.292, allocations: 43.81 kB / 2.059 GB, free: 337.6 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/2.294, allocations: 1.654 MB / 2.06 GB, free: 335.8 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/2.294, allocations: 6.281 kB / 2.06 GB, free: 335.8 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/2.299, allocations: 3.061 MB / 2.063 GB, free: 332.7 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/2.302, allocations: 1.79 MB / 2.065 GB, free: 330.9 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008158/2.302, allocations: 43.88 kB / 2.065 GB, free: 330.8 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/2.305, allocations: 413.5 kB / 2.065 GB, free: 330.4 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/2.305, allocations: 96.86 kB / 2.065 GB, free: 330.3 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/2.305, allocations: 59.97 kB / 2.065 GB, free: 330.3 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.1626/2.468, allocations: 251.5 MB / 2.311 GB, free: 78.73 MB / 1.467 GB Notification: Performance of sort global known variables: time 4.51e-07/2.468, allocations: 0 / 2.311 GB, free: 78.73 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.004989/2.473, allocations: 1.414 MB / 2.313 GB, free: 77.32 MB / 1.467 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.009166/2.482, allocations: 4.487 MB / 2.317 GB, free: 73.07 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.004618/2.486, allocations: 4.341 MB / 2.321 GB, free: 68.71 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.486, allocations: 1.125 kB / 2.321 GB, free: 68.71 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/2.488, allocations: 1.906 MB / 2.323 GB, free: 66.78 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/2.493, allocations: 0.6136 MB / 2.324 GB, free: 66.19 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.377/4.87, allocations: 1.258 GB / 3.581 GB, free: 0.4993 GB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/4.873, allocations: 3.008 MB / 3.584 GB, free: 0.4981 GB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.004286/4.878, allocations: 1.695 MB / 3.586 GB, free: 0.4979 GB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004052/4.882, allocations: 2.347 MB / 3.588 GB, free: 0.4963 GB / 1.467 GB Notification: Performance of SimCode: time 7.52e-07/4.882, allocations: 0 / 3.588 GB, free: 0.4963 GB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.533/5.415, allocations: 273.4 MB / 3.855 GB, free: 251.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/27.34, allocations: 7.219 kB / 3.855 GB, free: 251.7 MB / 1.467 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