Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_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.001415/0.001415, 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.001647/0.001647, allocations: 194.1 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.545/2.545, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5254, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006863/0.5323, allocations: 5.838 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1458/0.6781, allocations: 151.3 MB / 1.171 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.679, allocations: 15.94 kB / 1.171 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.6797, allocations: 225.8 kB / 1.171 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.6813, allocations: 0.6574 MB / 1.172 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.6832, allocations: 0.9684 MB / 1.173 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.6846, allocations: 1.89 MB / 1.175 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009179/0.6856, allocations: 0.7638 MB / 1.175 GB, free: 140 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.6862, allocations: 0.6737 MB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.6869, allocations: 0.7431 MB / 1.177 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.6871, allocations: 160 kB / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000901/0.6881, allocations: 0.6127 MB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.6884, allocations: 442.6 kB / 1.178 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.689, allocations: 0.7697 MB / 1.179 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.6908, allocations: 2.169 MB / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6908, allocations: 0 / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6909, allocations: 0 / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.6909, allocations: 4 kB / 1.181 GB, free: 10.56 MB / 0.9356 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.003052/0.6939, allocations: 1.819 MB / 1.183 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.694, allocations: 8.031 kB / 1.183 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.6942, allocations: 190 kB / 1.183 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009239/0.7034, allocations: 1.275 MB / 1.184 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.7048, allocations: 0.9688 MB / 1.185 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.7048, allocations: 90.45 kB / 1.185 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.705, allocations: 116 kB / 1.185 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.7099, allocations: 2.045 MB / 1.187 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.7099, allocations: 0 / 1.187 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.7101, allocations: 52 kB / 1.187 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.7101, allocations: 28 kB / 1.187 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007753/0.7179, allocations: 2.76 MB / 1.19 GB, free: 1.023 MB / 0.9356 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.008301/0.7262, allocations: 4.724 MB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/0.7345, allocations: 2.747 MB / 1.197 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.7377, allocations: 1.043 MB / 1.198 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.7382, allocations: 0.6139 MB / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003609/0.7418, allocations: 1.352 MB / 1.2 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 2.925e-06/0.7418, allocations: 4 kB / 1.2 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01131/0.7531, allocations: 3.375 MB / 1.203 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.7532, allocations: 197.2 kB / 1.204 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.7542, allocations: 0.7746 MB / 1.204 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.7543, allocations: 53.69 kB / 1.204 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.7547, allocations: 484.8 kB / 1.205 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.755, allocations: 429.8 kB / 1.205 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/0.7555, allocations: 254.7 kB / 1.206 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7557, allocations: 349.9 kB / 1.206 GB, free: 236 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/0.7589, allocations: 0.9431 MB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.7622, allocations: 1.093 MB / 1.208 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006212/0.7684, allocations: 1.903 MB / 1.21 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7684, allocations: 0 / 1.21 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007452/0.7759, allocations: 2.284 MB / 1.212 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7759, allocations: 4 kB / 1.212 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7759, allocations: 0 / 1.212 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.7765, allocations: 84.84 kB / 1.212 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.779, allocations: 415.3 kB / 1.212 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.781, allocations: 1.654 MB / 1.214 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.7832, allocations: 278.7 kB / 1.214 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.7834, allocations: 59.94 kB / 1.214 GB, free: 7.32 MB / 0.9669 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.0007193/0.7841, allocations: 327.5 kB / 1.215 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.7844, allocations: 126.5 kB / 1.215 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/0.7929, allocations: 2.727 MB / 1.217 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7929, allocations: 12 kB / 1.217 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.793, allocations: 0 / 1.217 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.793, allocations: 3.984 kB / 1.217 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.803, allocations: 4.325 MB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.803, allocations: 0 / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.8054, allocations: 419.3 kB / 1.222 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.8059, allocations: 72.8 kB / 1.222 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.806, allocations: 47.92 kB / 1.222 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.8078, allocations: 1.67 MB / 1.224 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8078, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007651/0.8155, allocations: 2.491 MB / 1.226 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/0.8162, allocations: 423.2 kB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.8164, allocations: 32 kB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.8185, allocations: 227.7 kB / 1.227 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.8187, allocations: 105.2 kB / 1.227 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.8189, allocations: 67.88 kB / 1.227 GB, free: 10 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000694/0.8196, allocations: 0.5537 MB / 1.228 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8196, allocations: 0 / 1.228 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001164/0.8207, allocations: 499 kB / 1.228 GB, free: 8.961 MB / 0.9825 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.00903/0.8298, allocations: 3.581 MB / 1.232 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008841/0.8386, allocations: 2.894 MB / 1.234 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8387, allocations: 0 / 1.234 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0037/0.8424, allocations: 1.314 MB / 1.236 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.8439, allocations: 355.2 kB / 1.236 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/0.8719, allocations: 12.4 MB / 1.248 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.8726, allocations: 1.167 MB / 1.249 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001782/0.8744, allocations: 481.1 kB / 1.25 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009584/0.8754, allocations: 0.5421 MB / 1.25 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.8754, allocations: 0 / 1.25 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4437/1.319, allocations: 31.34 MB / 1.281 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.71, allocations: 11.31 kB / 1.281 GB, free: 222.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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