Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001952/0.001952, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7427 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.33 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2709, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007995/0.2789, allocations: 6.221 MB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1707/0.4497, allocations: 149.3 MB / 1.216 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.4505, allocations: 23.81 kB / 1.216 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.4511, allocations: 182.6 kB / 1.216 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.453, allocations: 0.6105 MB / 1.217 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.455, allocations: 0.8929 MB / 1.218 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.4571, allocations: 2.045 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.4583, allocations: 0.864 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000892/0.4592, allocations: 0.7359 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008938/0.4601, allocations: 0.8132 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.4604, allocations: 192 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.4614, allocations: 0.6362 MB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004451/0.4619, allocations: 482.6 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/0.4627, allocations: 0.8592 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.4647, allocations: 1.863 MB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4647, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4647, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.4648, allocations: 4 kB / 1.226 GB, free: 8.195 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003519/0.4683, allocations: 1.917 MB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4683, allocations: 8.031 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00962/0.478, allocations: 1.282 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.4796, allocations: 1.036 MB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.842e-05/0.4797, allocations: 102.7 kB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.4799, allocations: 124 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.4853, allocations: 2.209 MB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.4854, allocations: 4 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.4855, allocations: 55.98 kB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.4856, allocations: 32 kB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008221/0.4938, allocations: 2.964 MB / 1.235 GB, free: 14.29 MB / 0.9981 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.01005/0.5039, allocations: 5.4 MB / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008432/0.5123, allocations: 2.884 MB / 1.244 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.5156, allocations: 1.13 MB / 1.245 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/0.5164, allocations: 0.6105 MB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/0.5202, allocations: 1.451 MB / 1.247 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.026e-06/0.5202, allocations: 0 / 1.247 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.5989/1.119, allocations: 3.62 MB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/1.119, allocations: 201 kB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.121, allocations: 0.8142 MB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/1.121, allocations: 51.48 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/1.122, allocations: 0.5103 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/1.122, allocations: 437.6 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007394/1.123, allocations: 269.6 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.123, allocations: 355.6 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/1.126, allocations: 1.051 MB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/1.13, allocations: 1.19 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005838/1.136, allocations: 2.062 MB / 1.257 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/1.136, allocations: 3.75 kB / 1.257 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007689/1.143, allocations: 2.481 MB / 1.259 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.143, allocations: 5.25 kB / 1.259 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.143, allocations: 2.625 kB / 1.259 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/1.144, allocations: 86.27 kB / 1.259 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/1.147, allocations: 437.1 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/1.148, allocations: 1.658 MB / 1.262 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.151, allocations: 283.7 kB / 1.262 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/1.151, allocations: 65.84 kB / 1.262 GB, free: 182.9 MB / 0.9981 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (151): * Single equations (assignments): 150 * 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.0007798/1.152, allocations: 358.3 kB / 1.262 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/1.152, allocations: 118 kB / 1.262 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/1.161, allocations: 2.885 MB / 1.265 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.161, allocations: 13.06 kB / 1.265 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.161, allocations: 0.5312 kB / 1.265 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.161, allocations: 11.27 kB / 1.265 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/1.164, allocations: 1.815 MB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.164, allocations: 0.7031 kB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.166, allocations: 407.3 kB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/1.167, allocations: 79.19 kB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.167, allocations: 51.81 kB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/1.169, allocations: 1.679 MB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.169, allocations: 5.562 kB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008498/1.177, allocations: 2.581 MB / 1.272 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.178, allocations: 462.9 kB / 1.272 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/1.179, allocations: 32.5 kB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.181, allocations: 238.5 kB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/1.181, allocations: 105.8 kB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.181, allocations: 61.09 kB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009411/1.182, allocations: 0.5827 MB / 1.273 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.182, allocations: 0 / 1.273 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001593/1.184, allocations: 0.5124 MB / 1.274 GB, free: 178 MB / 0.9981 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.002228/1.186, allocations: 0.6442 MB / 1.274 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009768/1.196, allocations: 3.103 MB / 1.277 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.196, allocations: 1.625 kB / 1.277 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/1.2, allocations: 1.395 MB / 1.279 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.202, allocations: 353.4 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/1.209, allocations: 3.7 MB / 1.282 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.21, allocations: 1.191 MB / 1.284 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.211, allocations: 203.4 kB / 1.284 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/1.211, allocations: 0 / 1.284 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03631/1.247, allocations: 30.7 MB / 1.314 GB, free: 150.9 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches