Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_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.004219/0.004219, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001273/0.001274, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 67.84 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01041/0.2926, allocations: 8.218 MB / 1.249 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6963/0.989, allocations: 159.5 MB / 1.405 GB, free: 8.355 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.9905, allocations: 38.69 kB / 1.405 GB, free: 8.344 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005111/0.9956, allocations: 1.987 MB / 1.407 GB, free: 6.992 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.9992, allocations: 1.276 MB / 1.408 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/1.003, allocations: 1.429 MB / 1.41 GB, free: 4.938 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006025/1.009, allocations: 5.455 MB / 1.415 GB, free: 1.582 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/1.011, allocations: 1.124 MB / 1.416 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/1.013, allocations: 1.702 MB / 1.418 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.015, allocations: 1.489 MB / 1.419 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003708/1.016, allocations: 281.3 kB / 1.42 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/1.02, allocations: 2.35 MB / 1.422 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002461/1.022, allocations: 3.022 MB / 1.425 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003101/1.025, allocations: 2.939 MB / 1.428 GB, free: 8.934 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.036, allocations: 10.85 MB / 1.438 GB, free: 14.05 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.036, allocations: 0 / 1.438 GB, free: 14.05 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.413e-06/1.036, allocations: 0 / 1.438 GB, free: 14.05 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.647e-05/1.036, allocations: 4 kB / 1.438 GB, free: 14.05 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.01455/1.051, allocations: 8.456 MB / 1.447 GB, free: 5.496 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.051, allocations: 12.03 kB / 1.447 GB, free: 5.484 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/1.051, allocations: 219.9 kB / 1.447 GB, free: 5.258 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.053, allocations: 0.6261 MB / 1.448 GB, free: 4.629 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2838/1.337, allocations: 276.1 MB / 1.717 GB, free: 356 kB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.337, allocations: 138.9 kB / 1.717 GB, free: 216 kB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/1.338, allocations: 191.9 kB / 1.717 GB, free: 24 kB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/1.341, allocations: 1.964 MB / 1.719 GB, free: 13.98 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/1.341, allocations: 0 / 1.719 GB, free: 13.98 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/1.341, allocations: 64 kB / 1.719 GB, free: 13.92 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/1.341, allocations: 36 kB / 1.719 GB, free: 13.88 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/1.345, allocations: 1.982 MB / 1.721 GB, free: 11.89 MB / 1.42 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06647/1.411, allocations: 70.44 MB / 1.79 GB, free: 5.184 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/1.414, allocations: 1.789 MB / 1.792 GB, free: 3.391 MB / 1.482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/1.416, allocations: 1.079 MB / 1.793 GB, free: 2.309 MB / 1.482 GB Notification: Performance of preOpt evalFunc (simulation): time 9.656e-05/1.416, allocations: 37.02 kB / 1.793 GB, free: 2.277 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/1.418, allocations: 1.201 MB / 1.794 GB, free: 1.059 MB / 1.482 GB Notification: Performance of pre-optimization done (n=117): time 2.735e-06/1.418, allocations: 0 / 1.794 GB, free: 1.059 MB / 1.482 GB Notification: Performance of matching and sorting (n=117): time 0.008759/1.427, allocations: 3.724 MB / 1.798 GB, free: 13.3 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002578/1.427, allocations: 342.5 kB / 1.798 GB, free: 12.91 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7877/2.215, allocations: 315.9 MB / 2.107 GB, free: 292.4 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/2.215, allocations: 69.7 kB / 2.107 GB, free: 292.4 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.002111/2.217, allocations: 2.239 MB / 2.109 GB, free: 290.4 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/2.217, allocations: 404 kB / 2.109 GB, free: 290.2 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005516/2.218, allocations: 454.6 kB / 2.11 GB, free: 289.8 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 3.168e-05/2.218, allocations: 309.9 kB / 2.11 GB, free: 289.5 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/2.22, allocations: 1.528 MB / 2.112 GB, free: 288 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/2.221, allocations: 1.835 MB / 2.113 GB, free: 286 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/2.225, allocations: 3.232 MB / 2.117 GB, free: 282.8 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/2.225, allocations: 1.875 kB / 2.117 GB, free: 282.8 MB / 1.514 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007085/2.232, allocations: 4.305 MB / 2.121 GB, free: 278.5 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/2.232, allocations: 165.6 kB / 2.121 GB, free: 278.3 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/2.232, allocations: 10.81 kB / 2.121 GB, free: 278.3 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/2.233, allocations: 94.39 kB / 2.121 GB, free: 278.2 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/2.234, allocations: 391.4 kB / 2.121 GB, free: 277.8 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/2.236, allocations: 1.637 MB / 2.123 GB, free: 276 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/2.239, allocations: 0.6414 MB / 2.124 GB, free: 275.5 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/2.239, allocations: 92.62 kB / 2.124 GB, free: 275.4 MB / 1.514 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.002331/2.241, allocations: 2.167 MB / 2.126 GB, free: 273.2 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.243, allocations: 480.7 kB / 2.126 GB, free: 272.7 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/2.247, allocations: 3.376 MB / 2.13 GB, free: 269.4 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/2.248, allocations: 15.19 kB / 2.13 GB, free: 269.4 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/2.248, allocations: 3.984 kB / 2.13 GB, free: 269.4 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/2.248, allocations: 9.516 kB / 2.13 GB, free: 269.4 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/2.251, allocations: 4.086 MB / 2.134 GB, free: 265.3 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/2.251, allocations: 0 / 2.134 GB, free: 265.3 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/2.252, allocations: 183.7 kB / 2.134 GB, free: 265.1 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/2.252, allocations: 76.58 kB / 2.134 GB, free: 265 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/2.252, allocations: 39.97 kB / 2.134 GB, free: 265 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/2.254, allocations: 1.655 MB / 2.135 GB, free: 263.2 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/2.254, allocations: 128 / 2.135 GB, free: 263.2 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004551/2.258, allocations: 3.066 MB / 2.138 GB, free: 260.1 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/2.26, allocations: 1.799 MB / 2.14 GB, free: 258.3 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007425/2.261, allocations: 40.92 kB / 2.14 GB, free: 258.2 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/2.263, allocations: 413.2 kB / 2.141 GB, free: 257.8 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/2.263, allocations: 92.88 kB / 2.141 GB, free: 257.8 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/2.263, allocations: 59.97 kB / 2.141 GB, free: 257.7 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.1526/2.416, allocations: 251.5 MB / 2.386 GB, free: 6.141 MB / 1.514 GB Notification: Performance of sort global known variables: time 6.41e-07/2.416, allocations: 0 / 2.386 GB, free: 6.141 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.004111/2.42, allocations: 1.418 MB / 2.388 GB, free: 4.848 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.007964/2.428, allocations: 4.499 MB / 2.392 GB, free: 0.6797 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.005656/2.434, allocations: 4.33 MB / 2.396 GB, free: 12.33 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.434, allocations: 0 / 2.396 GB, free: 12.33 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/2.437, allocations: 1.906 MB / 2.398 GB, free: 10.41 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/2.44, allocations: 0.6184 MB / 2.399 GB, free: 9.812 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.365/4.805, allocations: 1.258 GB / 3.657 GB, free: 478.7 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/4.808, allocations: 3.015 MB / 3.66 GB, free: 476.4 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.003396/4.811, allocations: 1.689 MB / 3.661 GB, free: 475 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/4.814, allocations: 2.348 MB / 3.664 GB, free: 472.9 MB / 1.529 GB Notification: Performance of SimCode: time 6.71e-07/4.814, allocations: 1.531 kB / 3.664 GB, free: 472.9 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5226/5.337, allocations: 273.4 MB / 3.931 GB, free: 206.9 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/27.27, allocations: 13.89 kB / 3.931 GB, free: 206.8 MB / 1.529 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches