Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.004843/0.004843, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001141/0.001141, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6462, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005809/0.6521, allocations: 5.099 MB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.8154, allocations: 151.2 MB / 1.24 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.8165, allocations: 25.62 kB / 1.24 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.8173, allocations: 192.9 kB / 1.24 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.8195, allocations: 0.6023 MB / 1.241 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.8219, allocations: 0.9671 MB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.8239, allocations: 1.79 MB / 1.244 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.825, allocations: 0.8076 MB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.8261, allocations: 0.6604 MB / 1.245 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.8271, allocations: 0.7241 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.8274, allocations: 164 kB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.8286, allocations: 0.6401 MB / 1.247 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.8289, allocations: 438.6 kB / 1.247 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.8296, allocations: 0.7501 MB / 1.248 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.8318, allocations: 2.18 MB / 1.25 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8318, allocations: 0 / 1.25 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8318, allocations: 0 / 1.25 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.8318, allocations: 0 / 1.25 GB, free: 7.508 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003209/0.835, allocations: 1.843 MB / 1.252 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8351, allocations: 12.03 kB / 1.252 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.8353, allocations: 182 kB / 1.252 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009612/0.8449, allocations: 1.283 MB / 1.253 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.8466, allocations: 0.993 MB / 1.254 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.8467, allocations: 90.45 kB / 1.254 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.8469, allocations: 123.9 kB / 1.254 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005139/0.8521, allocations: 2.034 MB / 1.256 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.8521, allocations: 0 / 1.256 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.8523, allocations: 52 kB / 1.256 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.8523, allocations: 35.98 kB / 1.256 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007933/0.8603, allocations: 2.76 MB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008826/0.8691, allocations: 4.447 MB / 1.263 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008514/0.8777, allocations: 2.732 MB / 1.266 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/0.8809, allocations: 1.042 MB / 1.267 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.8815, allocations: 0.6139 MB / 1.268 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003764/0.8853, allocations: 1.356 MB / 1.269 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.246e-06/0.8853, allocations: 4 kB / 1.269 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01147/0.8968, allocations: 3.383 MB / 1.272 GB, free: 52 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.8969, allocations: 197.2 kB / 1.272 GB, free: 15.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.898, allocations: 0.7784 MB / 1.273 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.8982, allocations: 53.7 kB / 1.273 GB, free: 14.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.8986, allocations: 493.7 kB / 1.274 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.899, allocations: 444.2 kB / 1.274 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.8995, allocations: 254.8 kB / 1.274 GB, free: 13.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8996, allocations: 345.9 kB / 1.275 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/0.9027, allocations: 0.947 MB / 1.276 GB, free: 12.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/0.906, allocations: 1.093 MB / 1.277 GB, free: 11.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006092/0.9121, allocations: 1.903 MB / 1.279 GB, free: 9.445 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9121, allocations: 0 / 1.279 GB, free: 9.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007363/0.9195, allocations: 2.284 MB / 1.281 GB, free: 7.148 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9195, allocations: 4 kB / 1.281 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9196, allocations: 3.938 kB / 1.281 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.9202, allocations: 88.83 kB / 1.281 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.9226, allocations: 415.3 kB / 1.281 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.9246, allocations: 1.654 MB / 1.283 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.9268, allocations: 283.1 kB / 1.283 GB, free: 4.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.927, allocations: 59.94 kB / 1.283 GB, free: 4.512 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,incAng.decAng.tNext,$PRE.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 (142): * Single equations (assignments): 141 * 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.00063/0.9276, allocations: 323.6 kB / 1.284 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.9279, allocations: 119.2 kB / 1.284 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00843/0.9364, allocations: 2.727 MB / 1.286 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.9364, allocations: 12 kB / 1.286 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.9364, allocations: 0 / 1.286 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.9364, allocations: 11.97 kB / 1.286 GB, free: 1.301 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.947, allocations: 4.318 MB / 1.291 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.947, allocations: 0 / 1.291 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.9494, allocations: 415.2 kB / 1.291 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.9499, allocations: 72.8 kB / 1.291 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.95, allocations: 51.92 kB / 1.291 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.952, allocations: 1.678 MB / 1.293 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.952, allocations: 0 / 1.293 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007824/0.9598, allocations: 2.502 MB / 1.295 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.9608, allocations: 427.7 kB / 1.296 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.9611, allocations: 28 kB / 1.296 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.9633, allocations: 231.7 kB / 1.296 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.9636, allocations: 105.1 kB / 1.296 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.9637, allocations: 59.94 kB / 1.296 GB, free: 7.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007991/0.9646, allocations: 0.5576 MB / 1.297 GB, free: 6.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9646, allocations: 0 / 1.297 GB, free: 6.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001331/0.9659, allocations: 483 kB / 1.297 GB, free: 6.16 MB / 1.029 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.009629/0.9755, allocations: 3.599 MB / 1.301 GB, free: 2.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007576/0.9831, allocations: 2.324 MB / 1.303 GB, free: 380 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.9832, allocations: 4 kB / 1.303 GB, free: 376 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.9872, allocations: 1.302 MB / 1.304 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.9889, allocations: 329.2 kB / 1.304 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/1.018, allocations: 12.16 MB / 1.316 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/1.019, allocations: 1.156 MB / 1.317 GB, free: 1.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001644/1.021, allocations: 489 kB / 1.318 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.022, allocations: 0.5343 MB / 1.318 GB, free: 240 kB / 1.045 GB Notification: Performance of SimCode: time 5.1e-07/1.022, allocations: 0 / 1.318 GB, free: 240 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/1.082, allocations: 31.09 MB / 1.349 GB, free: 1.445 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.25, allocations: 9.984 kB / 1.349 GB, free: 1.438 MB / 1.076 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,fin.fraSun Variables in the result:time,altAng.alt,fin.fraSun,incAng.y,walSolAzi.verAzi,weaDat.weaBus.HDifHor