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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001725/0.001725, allocations: 194.9 kB / 16.14 MB, free: 6.652 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.587/2.587, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6417, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007732/0.6495, allocations: 5.85 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.8072, allocations: 149 MB / 1.168 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.8086, allocations: 15.94 kB / 1.168 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008891/0.8096, allocations: 166.6 kB / 1.168 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.8118, allocations: 0.5633 MB / 1.169 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.8141, allocations: 0.8607 MB / 1.169 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.8166, allocations: 1.862 MB / 1.171 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.8179, allocations: 0.7472 MB / 1.172 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.819, allocations: 0.5838 MB / 1.173 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.8201, allocations: 0.704 MB / 1.173 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.8204, allocations: 84 kB / 1.173 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.8217, allocations: 0.5347 MB / 1.174 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.8221, allocations: 366.6 kB / 1.174 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009065/0.8231, allocations: 0.6955 MB / 1.175 GB, free: 164 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.8256, allocations: 2.095 MB / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8256, allocations: 0 / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8256, allocations: 0 / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.58e-05/0.8257, allocations: 4 kB / 1.177 GB, free: 14.05 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.004817/0.8305, allocations: 1.815 MB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8306, allocations: 12.03 kB / 1.179 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009882/0.8405, allocations: 1.278 MB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.8425, allocations: 0.9613 MB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.8427, allocations: 86.45 kB / 1.181 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.843, allocations: 124 kB / 1.181 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005831/0.8489, allocations: 2.03 MB / 1.183 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.8489, allocations: 0 / 1.183 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.8491, allocations: 60 kB / 1.183 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.8492, allocations: 32 kB / 1.183 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007924/0.8571, allocations: 2.756 MB / 1.186 GB, free: 4.723 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.01012/0.8672, allocations: 4.74 MB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00824/0.8755, allocations: 2.735 MB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/0.8788, allocations: 1.042 MB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/0.8795, allocations: 0.6101 MB / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003933/0.8834, allocations: 1.352 MB / 1.196 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 4.528e-06/0.8834, allocations: 0 / 1.196 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01118/0.8946, allocations: 3.387 MB / 1.199 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.8948, allocations: 197.2 kB / 1.2 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.8961, allocations: 0.7667 MB / 1.2 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/0.8964, allocations: 53.7 kB / 1.2 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.8968, allocations: 484.8 kB / 1.201 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.8973, allocations: 433.7 kB / 1.201 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/0.8979, allocations: 270.7 kB / 1.201 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8981, allocations: 345.9 kB / 1.202 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/0.9011, allocations: 0.9665 MB / 1.203 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.9043, allocations: 1.097 MB / 1.204 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005929/0.9102, allocations: 1.931 MB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.9103, allocations: 0 / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007408/0.9177, allocations: 2.323 MB / 1.208 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.9177, allocations: 6.344 kB / 1.208 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.9177, allocations: 8.062 kB / 1.208 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.9184, allocations: 76.78 kB / 1.208 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.921, allocations: 439.3 kB / 1.208 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.9232, allocations: 1.546 MB / 1.21 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.9256, allocations: 286.7 kB / 1.21 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.9258, allocations: 67.91 kB / 1.21 GB, free: 11 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (150): * Single equations (assignments): 149 * 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.0008742/0.9267, allocations: 335.7 kB / 1.211 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.9272, allocations: 114.6 kB / 1.211 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.9355, allocations: 2.719 MB / 1.213 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.9356, allocations: 15.94 kB / 1.213 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9356, allocations: 0 / 1.213 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.9356, allocations: 11.91 kB / 1.213 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.9459, allocations: 4.31 MB / 1.218 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.9459, allocations: 0 / 1.218 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/0.9484, allocations: 411.4 kB / 1.218 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/0.9489, allocations: 84.77 kB / 1.218 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.9491, allocations: 47.94 kB / 1.218 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.9511, allocations: 1.571 MB / 1.22 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9511, allocations: 3.938 kB / 1.22 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/0.9585, allocations: 2.48 MB / 1.222 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.9595, allocations: 431 kB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.9599, allocations: 31.94 kB / 1.223 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/0.9621, allocations: 234.3 kB / 1.223 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.9624, allocations: 109.1 kB / 1.223 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.9625, allocations: 59.94 kB / 1.223 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00089/0.9634, allocations: 0.5576 MB / 1.223 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9635, allocations: 0 / 1.223 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001624/0.9651, allocations: 499.1 kB / 1.224 GB, free: 12.76 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.001712/0.9668, allocations: 0.6396 MB / 1.225 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00707/0.9739, allocations: 2.352 MB / 1.227 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9739, allocations: 0 / 1.227 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003777/0.9777, allocations: 1.31 MB / 1.228 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.9799, allocations: 316.1 kB / 1.228 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.9868, allocations: 3.388 MB / 1.232 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/0.9877, allocations: 1.159 MB / 1.233 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002162/0.9898, allocations: 489.1 kB / 1.233 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/0.9906, allocations: 163.3 kB / 1.234 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of SimCode: time 1.142e-06/0.9906, allocations: 3.938 kB / 1.234 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of Templates: time 0.6082/1.599, allocations: 22.15 MB / 1.255 GB, free: 230.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (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 & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches