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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008413/0.0008415, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008585/0.0008586, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8806, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006939/0.8876, allocations: 5.084 MB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1584/1.046, allocations: 137.1 MB / 1.161 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008851/1.047, allocations: 19.88 kB / 1.161 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005676/1.048, allocations: 162.7 kB / 1.161 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/1.049, allocations: 0.5402 MB / 1.162 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/1.052, allocations: 0.7487 MB / 1.163 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001949/1.054, allocations: 1.71 MB / 1.164 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/1.054, allocations: 0.5491 MB / 1.165 GB, free: 13.67 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/1.055, allocations: 490 kB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/1.056, allocations: 0.5678 MB / 1.166 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/1.056, allocations: 40 kB / 1.166 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/1.057, allocations: 471.5 kB / 1.166 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/1.058, allocations: 286.9 kB / 1.167 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/1.058, allocations: 268.9 kB / 1.167 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/1.059, allocations: 1.59 MB / 1.169 GB, free: 9.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.059, allocations: 0 / 1.169 GB, free: 9.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/1.059, allocations: 0 / 1.169 GB, free: 9.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.198e-05/1.059, allocations: 0 / 1.169 GB, free: 9.973 MB / 0.92 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.002929/1.062, allocations: 1.546 MB / 1.17 GB, free: 8.367 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.062, allocations: 16.02 kB / 1.17 GB, free: 8.352 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008451/1.071, allocations: 1.563 MB / 1.172 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.073, allocations: 0.9223 MB / 1.172 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.073, allocations: 98.42 kB / 1.173 GB, free: 5.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/1.073, allocations: 116 kB / 1.173 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/1.078, allocations: 2.151 MB / 1.175 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/1.078, allocations: 0 / 1.175 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/1.078, allocations: 55.94 kB / 1.175 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.078, allocations: 28 kB / 1.175 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007426/1.086, allocations: 2.995 MB / 1.178 GB, free: 312 kB / 0.92 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.009192/1.095, allocations: 4.819 MB / 1.182 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007596/1.103, allocations: 3.02 MB / 1.185 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/1.106, allocations: 1.155 MB / 1.187 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/1.107, allocations: 0.6062 MB / 1.187 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003586/1.11, allocations: 1.461 MB / 1.189 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=132): time 3.086e-06/1.11, allocations: 0 / 1.189 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=132): time 0.01038/1.121, allocations: 3.72 MB / 1.192 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.121, allocations: 201.2 kB / 1.192 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.122, allocations: 0.7666 MB / 1.193 GB, free: 164 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/1.122, allocations: 49.7 kB / 1.193 GB, free: 108 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/1.123, allocations: 480.8 kB / 1.194 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/1.123, allocations: 429.8 kB / 1.194 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.123, allocations: 28 kB / 1.194 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.124, allocations: 349.9 kB / 1.194 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/1.126, allocations: 1.084 MB / 1.195 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/1.129, allocations: 1.203 MB / 1.197 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/1.132, allocations: 1.06 MB / 1.198 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.132, allocations: 3.938 kB / 1.198 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006952/1.139, allocations: 2.546 MB / 1.2 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.139, allocations: 6.031 kB / 1.2 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.139, allocations: 4.062 kB / 1.2 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/1.14, allocations: 88.7 kB / 1.2 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/1.142, allocations: 491.3 kB / 1.201 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/1.144, allocations: 1.549 MB / 1.202 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.147, allocations: 351.3 kB / 1.203 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.147, allocations: 71.91 kB / 1.203 GB, free: 6.219 MB / 0.9512 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007618/1.148, allocations: 327.8 kB / 1.203 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/1.148, allocations: 114.5 kB / 1.203 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007719/1.156, allocations: 2.957 MB / 1.206 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.156, allocations: 16 kB / 1.206 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.156, allocations: 0 / 1.206 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/1.156, allocations: 7.969 kB / 1.206 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009814/1.165, allocations: 4.528 MB / 1.21 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.166, allocations: 4 kB / 1.21 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.168, allocations: 463.3 kB / 1.211 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/1.168, allocations: 92.72 kB / 1.211 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.168, allocations: 55.94 kB / 1.211 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/1.17, allocations: 1.556 MB / 1.213 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.17, allocations: 0 / 1.213 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007215/1.177, allocations: 2.706 MB / 1.215 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008452/1.178, allocations: 451 kB / 1.216 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.179, allocations: 28 kB / 1.216 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.18, allocations: 308.3 kB / 1.216 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/1.181, allocations: 105.2 kB / 1.216 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.181, allocations: 59.94 kB / 1.216 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007923/1.182, allocations: 0.5498 MB / 1.217 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/1.182, allocations: 0 / 1.217 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00136/1.183, allocations: 499.1 kB / 1.217 GB, free: 7.184 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/1.184, allocations: 0.6503 MB / 1.218 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006828/1.191, allocations: 2.567 MB / 1.22 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.191, allocations: 0 / 1.22 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.195, allocations: 1.419 MB / 1.222 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.197, allocations: 304 kB / 1.222 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/1.203, allocations: 3.449 MB / 1.225 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/1.204, allocations: 1.159 MB / 1.226 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001964/1.206, allocations: 481.1 kB / 1.227 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/1.206, allocations: 163.3 kB / 1.227 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of SimCode: time 9.21e-07/1.206, allocations: 0 / 1.227 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.0365/1.243, allocations: 21.38 MB / 1.248 GB, free: 7.895 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