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.001716/0.001716, allocations: 108 kB / 15.61 MB, free: 152 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.001918/0.001919, allocations: 197 kB / 16.53 MB, free: 6.664 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.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.83/2.83, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.6351, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.009103/0.6443, allocations: 5.851 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.8302, allocations: 151.3 MB / 1.171 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009606/0.8312, allocations: 15.94 kB / 1.171 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.832, allocations: 225.8 kB / 1.171 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.8339, allocations: 0.6514 MB / 1.172 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.8362, allocations: 0.9704 MB / 1.173 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.8385, allocations: 1.897 MB / 1.174 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.8397, allocations: 0.7716 MB / 1.175 GB, free: 124 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.8408, allocations: 0.6699 MB / 1.176 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.8418, allocations: 0.7408 MB / 1.177 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.8421, allocations: 160 kB / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.8433, allocations: 0.6166 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.8438, allocations: 438.7 kB / 1.178 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008218/0.8446, allocations: 0.7696 MB / 1.178 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.8473, allocations: 2.161 MB / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8473, allocations: 0 / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8473, allocations: 0 / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.8474, 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.003553/0.8509, allocations: 1.811 MB / 1.182 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.851, allocations: 12.03 kB / 1.182 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009513/0.8605, allocations: 1.278 MB / 1.184 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.8626, allocations: 0.9536 MB / 1.185 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.8627, allocations: 90.45 kB / 1.185 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.863, allocations: 116 kB / 1.185 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005426/0.8684, allocations: 2.045 MB / 1.187 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.8684, allocations: 0 / 1.187 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.8686, allocations: 63.92 kB / 1.187 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.8686, allocations: 28 kB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008242/0.8769, allocations: 2.756 MB / 1.19 GB, free: 1.227 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.009916/0.8868, allocations: 4.741 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009033/0.8959, allocations: 2.743 MB / 1.197 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/0.8994, allocations: 1.034 MB / 1.198 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.9001, allocations: 0.61 MB / 1.198 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004005/0.9041, allocations: 1.356 MB / 1.2 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.577e-06/0.9041, allocations: 0 / 1.2 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01242/0.9166, allocations: 3.379 MB / 1.203 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.9167, allocations: 205.2 kB / 1.203 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.918, allocations: 0.7667 MB / 1.204 GB, free: 2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.9181, allocations: 57.7 kB / 1.204 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.9186, allocations: 480.8 kB / 1.205 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.9191, allocations: 429.7 kB / 1.205 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005719/0.9197, allocations: 270.7 kB / 1.205 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9199, allocations: 349.9 kB / 1.206 GB, free: 424 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/0.9234, allocations: 0.9705 MB / 1.206 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/0.927, allocations: 1.093 MB / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006805/0.9338, allocations: 1.923 MB / 1.209 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9338, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008183/0.942, allocations: 2.323 MB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.9421, allocations: 12.05 kB / 1.212 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.9421, allocations: 11.94 kB / 1.212 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.9427, allocations: 80.78 kB / 1.212 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.9453, allocations: 435.3 kB / 1.212 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.9478, allocations: 1.646 MB / 1.214 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.9502, allocations: 284.5 kB / 1.214 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.9504, allocations: 67.92 kB / 1.214 GB, free: 7.391 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.000729/0.9511, allocations: 327.8 kB / 1.214 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.9514, allocations: 110.7 kB / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009091/0.9605, allocations: 2.727 MB / 1.217 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.9606, allocations: 23.94 kB / 1.217 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9606, allocations: 0 / 1.217 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.9606, allocations: 7.969 kB / 1.217 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.972, allocations: 4.309 MB / 1.221 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.972, allocations: 0 / 1.221 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/0.9745, allocations: 423.3 kB / 1.222 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.975, allocations: 76.78 kB / 1.222 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.9751, allocations: 47.94 kB / 1.222 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.9773, allocations: 1.677 MB / 1.224 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9773, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008476/0.9858, allocations: 2.48 MB / 1.226 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009873/0.9869, allocations: 431.1 kB / 1.226 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.9871, allocations: 28 kB / 1.227 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/0.9893, allocations: 227.7 kB / 1.227 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.9895, allocations: 97.23 kB / 1.227 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.9897, allocations: 79.86 kB / 1.227 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008798/0.9906, allocations: 0.5498 MB / 1.227 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9906, allocations: 0 / 1.227 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001529/0.9921, allocations: 499 kB / 1.228 GB, free: 9.039 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.002257/0.9944, allocations: 0.6502 MB / 1.229 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.005, allocations: 2.933 MB / 1.231 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.005, allocations: 0 / 1.231 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004163/1.009, allocations: 1.31 MB / 1.233 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.011, allocations: 341.5 kB / 1.233 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/1.018, allocations: 2.834 MB / 1.236 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/1.019, allocations: 1.159 MB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001982/1.021, allocations: 481.1 kB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/1.022, allocations: 171.3 kB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/1.022, allocations: 0 / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.4677/1.489, allocations: 23.14 MB / 1.26 GB, free: 229.8 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=400 -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