Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001428/0.001428, 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.001822/0.001822, allocations: 197.4 kB / 16.53 MB, free: 6.699 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.8 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3125, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007677/0.3202, allocations: 5.829 MB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.4795, allocations: 151.3 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4808, allocations: 19.88 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.4816, allocations: 217.9 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.4839, allocations: 0.6559 MB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.4862, allocations: 0.9655 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.4883, allocations: 1.897 MB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.4893, allocations: 0.7721 MB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.4902, allocations: 0.6697 MB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.491, allocations: 0.7409 MB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.4912, allocations: 160 kB / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.4924, allocations: 0.6167 MB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.4928, allocations: 442.7 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.4934, allocations: 0.7658 MB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.4958, allocations: 2.169 MB / 1.232 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4958, allocations: 0 / 1.232 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4958, allocations: 0 / 1.232 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.4958, allocations: 0 / 1.232 GB, free: 2.508 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003413/0.4993, allocations: 1.819 MB / 1.233 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4993, allocations: 8.031 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009448/0.5088, allocations: 1.278 MB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.5109, allocations: 0.9496 MB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/0.511, allocations: 94.45 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.5112, allocations: 112 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005443/0.5167, allocations: 2.049 MB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5168, allocations: 0 / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.5169, allocations: 52 kB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.517, allocations: 28 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007926/0.5249, allocations: 2.756 MB / 1.24 GB, free: 9.184 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.009092/0.534, allocations: 4.736 MB / 1.245 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/0.5424, allocations: 2.742 MB / 1.248 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.5458, allocations: 1.042 MB / 1.249 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5567/1.102, allocations: 0.6059 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004831/1.107, allocations: 1.349 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 5.269e-06/1.107, allocations: 0.9688 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01301/1.12, allocations: 3.385 MB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.121, allocations: 195.2 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.122, allocations: 0.7772 MB / 1.255 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/1.122, allocations: 49.3 kB / 1.255 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/1.123, allocations: 481.4 kB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/1.123, allocations: 437.8 kB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005351/1.124, allocations: 263.2 kB / 1.256 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.124, allocations: 358.9 kB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/1.127, allocations: 0.96 MB / 1.257 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.13, allocations: 1.099 MB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/1.137, allocations: 1.927 MB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.137, allocations: 0 / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008129/1.145, allocations: 2.322 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.145, allocations: 8.969 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.145, allocations: 0 / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/1.146, allocations: 88.83 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.149, allocations: 431.9 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.151, allocations: 1.646 MB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.153, allocations: 280.6 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/1.153, allocations: 68.42 kB / 1.265 GB, free: 178.8 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,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.000854/1.154, allocations: 344.4 kB / 1.265 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/1.155, allocations: 113 kB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009036/1.164, allocations: 2.716 MB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.164, allocations: 14.91 kB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.164, allocations: 5.031 kB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.164, allocations: 7.219 kB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.175, allocations: 4.307 MB / 1.272 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.175, allocations: 1.375 kB / 1.272 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.178, allocations: 409.9 kB / 1.273 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/1.178, allocations: 74.31 kB / 1.273 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/1.178, allocations: 52.2 kB / 1.273 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.18, allocations: 1.679 MB / 1.275 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.18, allocations: 5.375 kB / 1.275 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008632/1.189, allocations: 2.484 MB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.19, allocations: 429.7 kB / 1.277 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/1.19, allocations: 36.34 kB / 1.277 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.192, allocations: 227.2 kB / 1.278 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/1.193, allocations: 105.6 kB / 1.278 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.193, allocations: 64.53 kB / 1.278 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008518/1.194, allocations: 0.5505 MB / 1.278 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.194, allocations: 0 / 1.278 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001596/1.195, allocations: 493.8 kB / 1.279 GB, free: 173.1 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,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.001488/1.197, allocations: 0.649 MB / 1.279 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009715/1.206, allocations: 2.928 MB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.207, allocations: 1.375 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004094/1.211, allocations: 1.316 MB / 1.284 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.213, allocations: 346.9 kB / 1.284 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/1.219, allocations: 2.843 MB / 1.287 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/1.22, allocations: 1.16 MB / 1.288 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002053/1.222, allocations: 478.1 kB / 1.288 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006908/1.223, allocations: 168.3 kB / 1.288 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.223, allocations: 3.828 kB / 1.288 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03371/1.256, allocations: 23.14 MB / 1.311 GB, free: 150.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches